add typography and fix blockquote in markdown

This commit is contained in:
m1ngsama 2025-06-10 09:42:17 +08:00
parent 8fbae689d6
commit eee2bf7f95
5 changed files with 79 additions and 4 deletions

View file

@ -51,6 +51,7 @@
"@cspell/eslint-plugin": "^8.19.2",
"@eslint/js": "^9.25.1",
"@hey-api/openapi-ts": "^0.53.12",
"@tailwindcss/typography": "^0.5.16",
"@types/eslint__js": "^8.42.3",
"@types/md5": "^2.3.5",
"@types/qrcode": "^1.5.5",

View file

@ -114,6 +114,9 @@ importers:
'@hey-api/openapi-ts':
specifier: ^0.53.12
version: 0.53.12(magicast@0.3.5)(typescript@5.8.3)
'@tailwindcss/typography':
specifier: ^0.5.16
version: 0.5.16(tailwindcss@3.4.17)
'@types/eslint__js':
specifier: ^8.42.3
version: 8.42.3
@ -2377,6 +2380,11 @@ packages:
'@swc/helpers@0.5.17':
resolution: {integrity: sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==}
'@tailwindcss/typography@0.5.16':
resolution: {integrity: sha512-0wDLwCVF5V3x3b1SGXPCDcdsbDHMBe+lkFzBRaHeLvNi+nrrnZ1lA18u+OTWO8iSWU2GxUOCvlXtDuqftc1oiA==}
peerDependencies:
tailwindcss: '>=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1'
'@tanstack/react-virtual@3.11.3':
resolution: {integrity: sha512-vCU+OTylXN3hdC8RKg68tPlBPjjxtzon7Ys46MgrSLE+JhSjSTPvoQifV6DQJeJmA8Q3KT6CphJbejupx85vFw==}
peerDependencies:
@ -4154,6 +4162,12 @@ packages:
resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
engines: {node: '>=10'}
lodash.castarray@4.4.0:
resolution: {integrity: sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==}
lodash.isplainobject@4.0.6:
resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==}
lodash.merge@4.6.2:
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
@ -4698,6 +4712,10 @@ packages:
peerDependencies:
postcss: ^8.2.14
postcss-selector-parser@6.0.10:
resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==}
engines: {node: '>=4'}
postcss-selector-parser@6.1.2:
resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==}
engines: {node: '>=4'}
@ -8796,6 +8814,14 @@ snapshots:
dependencies:
tslib: 2.8.1
'@tailwindcss/typography@0.5.16(tailwindcss@3.4.17)':
dependencies:
lodash.castarray: 4.4.0
lodash.isplainobject: 4.0.6
lodash.merge: 4.6.2
postcss-selector-parser: 6.0.10
tailwindcss: 3.4.17
'@tanstack/react-virtual@3.11.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
dependencies:
'@tanstack/virtual-core': 3.11.3
@ -10905,6 +10931,10 @@ snapshots:
dependencies:
p-locate: 5.0.0
lodash.castarray@4.4.0: {}
lodash.isplainobject@4.0.6: {}
lodash.merge@4.6.2: {}
log-symbols@6.0.0:
@ -11626,6 +11656,11 @@ snapshots:
postcss: 8.5.3
postcss-selector-parser: 6.1.2
postcss-selector-parser@6.0.10:
dependencies:
cssesc: 3.0.0
util-deprecate: 1.0.2
postcss-selector-parser@6.1.2:
dependencies:
cssesc: 3.0.0

View file

@ -76,7 +76,9 @@ const dateFormatted = formatDate(pubDate)
</div>
</div>
</div>
<div class="prose prose-neutral dark:prose-invert max-w-none">
<slot />
</div>
<div class="component">
<div class="component-content">
<div class="article-copyright">

View file

@ -34,4 +34,36 @@ tags: ["指南"]
## 2. 安装必要的模组
🖥 [小明](https://m1ng.space/) 写于2025年06月10日
安装Fabric加载器后打开Minecraft启动器。您会发现有一个fabri-loader-1.XX.
X只需点击开始游戏下载一些必要的包。如果一切正确您就会进入游戏。现在关闭游戏并前往**/Library/Application Support/minecraft**。您需要创建两个新文件夹一个叫mods在这里放模组和一个叫shaderpacks在这里放光影
现在您需要下载:
- Fabric API
<https://modrinth.com/mod/fabric-api/>
> Fabric API是一个极简的Minecraft模组工具链提供了一个灵活的框架来创建模组。以其快速更新和与新Minecraft版本的兼容性而闻名它支持客户端和服务器端模组使其成为模组社区中的热门选择。
- Sodium
<https://modrinth.com/mod/sodium>
> Sodium是一个Minecraft性能优化模组可以显著提高游戏的帧率并减少延迟。它设计用于与Fabric模组加载器一起工作专注于优化游戏的渲染引擎。通过重写游戏图形引擎的关键部分Sodium提供了更流畅的游戏体验特别是在低端硬件上。它以能够在不影响游戏视觉质量的情况下提升性能而备受好评是希望改善Minecraft体验的玩家的热门选择。
- Iris
<https://modrinth.com/mod/iris>
Iris是一个用于在Fabric上使用光影的Minecraft模组提供与Sodium的兼容性以增强性能和视觉效果。它简化了光影管理允许高级照明和效果。
将下载的文件放入`mods`文件夹。
```bash
➜ mods tree
.
├── fabric-api-0.102.0+1.21.jar
├── iris-fabric-1.8.8+mc1.21.1.jar
├── litematica-fabric-1.21-0.19.58.jar
├── malilib-fabric-1.21-0.21.8.jar
├── reeses-sodium-options-fabric-1.8.3+mc1.21.4.jar
├── sodium-extra-fabric-0.6.0+mc1.21.1.jar
└── sodium-fabric-0.6.13+mc1.21.1.jar
1 directory, 7 files
```

View file

@ -1,7 +1,12 @@
import { heroui } from "@heroui/react"
import typography from "@tailwindcss/typography"
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}", "./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}"],
content: [
"./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}",
"./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
screens: {
xs: "416px",
@ -16,5 +21,5 @@ export default {
},
},
darkMode: ["selector", "body.theme-dark"],
plugins: [heroui()],
plugins: [heroui(), typography()],
}