mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-14 18:56:46 +02:00
chore: update theme config and guide
This commit is contained in:
parent
63a62a886b
commit
35415f6c55
9 changed files with 66 additions and 62 deletions
|
@ -58,7 +58,7 @@
|
|||
"eslint": "^9.28.0",
|
||||
"eslint-plugin-astro": "^1.3.1",
|
||||
"esno": "^4.8.0",
|
||||
"fast-glob": "^3.3.2",
|
||||
"fast-glob": "^3.3.3",
|
||||
"lint-staged": "^16.1.0",
|
||||
"typescript": "~5.8.3",
|
||||
"unocss": "66.1.3",
|
||||
|
|
88
pnpm-lock.yaml
generated
88
pnpm-lock.yaml
generated
|
@ -86,7 +86,7 @@ importers:
|
|||
devDependencies:
|
||||
'@antfu/eslint-config':
|
||||
specifier: ^4.13.2
|
||||
version: 4.13.2(@unocss/eslint-plugin@66.1.3(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3))(@vue/compiler-sfc@3.5.14)(astro-eslint-parser@1.2.2)(eslint-import-resolver-node@0.3.9)(eslint-plugin-astro@1.3.1(eslint@9.28.0(jiti@2.4.2)))(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3)(vitest@3.1.1(@types/debug@4.1.12)(@types/node@22.15.29)(jiti@2.4.2)(lightningcss@1.29.3)(terser@5.39.0)(tsx@4.19.4)(yaml@2.8.0))
|
||||
version: 4.13.2(@typescript-eslint/utils@8.33.0(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3))(@unocss/eslint-plugin@66.1.3(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3))(@vue/compiler-sfc@3.5.14)(astro-eslint-parser@1.2.2)(eslint-import-resolver-node@0.3.9)(eslint-plugin-astro@1.3.1(eslint@9.28.0(jiti@2.4.2)))(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3)(vitest@3.1.1(@types/debug@4.1.12)(@types/node@22.15.29)(jiti@2.4.2)(lightningcss@1.29.3)(terser@5.39.0)(tsx@4.19.4)(yaml@2.8.0))
|
||||
'@astrojs/check':
|
||||
specifier: ^0.9.4
|
||||
version: 0.9.4(typescript@5.8.3)
|
||||
|
@ -127,7 +127,7 @@ importers:
|
|||
specifier: ^4.8.0
|
||||
version: 4.8.0
|
||||
fast-glob:
|
||||
specifier: ^3.3.2
|
||||
specifier: ^3.3.3
|
||||
version: 3.3.3
|
||||
lint-staged:
|
||||
specifier: ^16.1.0
|
||||
|
@ -825,8 +825,8 @@ packages:
|
|||
resolution: {integrity: sha512-fdDH1LSGfZdTH2sxdpVMw31BanV28K/Gry0cVFxaNP77neJSkd82mM8ErPNYs9e+0O7SdHBLTDzDgwUuy18RnQ==}
|
||||
engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
|
||||
|
||||
'@pkgr/core@0.2.4':
|
||||
resolution: {integrity: sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==}
|
||||
'@pkgr/core@0.2.5':
|
||||
resolution: {integrity: sha512-YRx7tFgLkrpFkDAzVSV5sUJydmf2ZDrW+O3IbQ1JyeMW7B0FiWroFJTnR4/fD9CsusnAn4qRUcbb5jFnZSd6uw==}
|
||||
engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
|
||||
|
||||
'@playform/pipe@0.1.3':
|
||||
|
@ -1453,9 +1453,9 @@ packages:
|
|||
resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
|
||||
engines: {node: '>= 8'}
|
||||
|
||||
are-docs-informative@0.0.2:
|
||||
resolution: {integrity: sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==}
|
||||
engines: {node: '>=14'}
|
||||
are-docs-informative@0.1.0:
|
||||
resolution: {integrity: sha512-CplVvB5za1z5Zn528h0EUogt/McTT7lvHZKFtb2NYldodL7G3u2O49Mgws3mP/TrKhpNuDjKPHYxmh8t2DGTtQ==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
arg@5.0.2:
|
||||
resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}
|
||||
|
@ -2035,18 +2035,21 @@ packages:
|
|||
peerDependencies:
|
||||
eslint: '>=8'
|
||||
|
||||
eslint-plugin-import-x@4.14.1:
|
||||
resolution: {integrity: sha512-ffjkksnesWuX4/+bJtNkqdXtYjhbmbrzWt3vBTxn9tjR/Phe0wVNTYKUrwX8vSLDUObuVVx8fJ/UUCb60QvEOw==}
|
||||
eslint-plugin-import-x@4.15.0:
|
||||
resolution: {integrity: sha512-oqCESQlM8r0iRioPHmDqrblH69u11NuglErCnMIY2FcY0UfCCs7qlEuiuqkYKT0puJSQq+fXpDD0MvMTQsAhoQ==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
peerDependencies:
|
||||
'@typescript-eslint/utils': ^8.0.0
|
||||
eslint: ^8.57.0 || ^9.0.0
|
||||
eslint-import-resolver-node: '*'
|
||||
peerDependenciesMeta:
|
||||
'@typescript-eslint/utils':
|
||||
optional: true
|
||||
eslint-import-resolver-node:
|
||||
optional: true
|
||||
|
||||
eslint-plugin-jsdoc@50.6.17:
|
||||
resolution: {integrity: sha512-hq+VQylhd12l8qjexyriDsejZhqiP33WgMTy2AmaGZ9+MrMWVqPECsM87GPxgHfQn0zw+YTuhqjUfk1f+q67aQ==}
|
||||
eslint-plugin-jsdoc@50.7.0:
|
||||
resolution: {integrity: sha512-fMeHWVtdxXvLfMmKLXJWObJSt57zBz31RCLZYj3bLSHBqnEsyO50N1OLDi5XP5wh+Gte5van9WTtOnemKAZrSw==}
|
||||
engines: {node: '>=18'}
|
||||
peerDependencies:
|
||||
eslint: ^7.0.0 || ^8.0.0 || ^9.0.0
|
||||
|
@ -2425,8 +2428,8 @@ packages:
|
|||
resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
|
||||
engines: {node: '>= 4'}
|
||||
|
||||
ignore@7.0.4:
|
||||
resolution: {integrity: sha512-gJzzk+PQNznz8ysRrC0aOkBNVRBDtE1n53IqyqEf3PXrYwomFs5q4pGMizBMJF+ykh03insJ27hB8gSrD2Hn8A==}
|
||||
ignore@7.0.5:
|
||||
resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==}
|
||||
engines: {node: '>= 4'}
|
||||
|
||||
import-fresh@3.3.1:
|
||||
|
@ -3549,8 +3552,8 @@ packages:
|
|||
resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==}
|
||||
engines: {node: '>=12.0.0'}
|
||||
|
||||
tinypool@1.0.2:
|
||||
resolution: {integrity: sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA==}
|
||||
tinypool@1.1.0:
|
||||
resolution: {integrity: sha512-7CotroY9a8DKsKprEy/a14aCCm8jYVmR7aFy4fpkZM8sdpNJbKkixuNjgM50yCmip2ezc8z4N7k3oe2+rfRJCQ==}
|
||||
engines: {node: ^18.0.0 || >=20.0.0}
|
||||
|
||||
tinyrainbow@2.0.0:
|
||||
|
@ -4108,8 +4111,8 @@ packages:
|
|||
typescript: ^4.9.4 || ^5.0.2
|
||||
zod: ^3
|
||||
|
||||
zod@3.25.42:
|
||||
resolution: {integrity: sha512-PcALTLskaucbeHc41tU/xfjfhcz8z0GdhhDcSgrCTmSazUuqnYqiXO63M0QUBVwpBlsLsNVn5qHSC5Dw3KZvaQ==}
|
||||
zod@3.25.46:
|
||||
resolution: {integrity: sha512-IqRxcHEIjqLd4LNS/zKffB3Jzg3NwqJxQQ0Ns7pdrvgGkwQsEBdEQcOHaBVqvvZArShRzI39+aMST3FBGmTrLQ==}
|
||||
|
||||
zwitch@2.0.4:
|
||||
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
|
||||
|
@ -4121,7 +4124,7 @@ snapshots:
|
|||
'@jridgewell/gen-mapping': 0.3.8
|
||||
'@jridgewell/trace-mapping': 0.3.25
|
||||
|
||||
'@antfu/eslint-config@4.13.2(@unocss/eslint-plugin@66.1.3(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3))(@vue/compiler-sfc@3.5.14)(astro-eslint-parser@1.2.2)(eslint-import-resolver-node@0.3.9)(eslint-plugin-astro@1.3.1(eslint@9.28.0(jiti@2.4.2)))(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3)(vitest@3.1.1(@types/debug@4.1.12)(@types/node@22.15.29)(jiti@2.4.2)(lightningcss@1.29.3)(terser@5.39.0)(tsx@4.19.4)(yaml@2.8.0))':
|
||||
'@antfu/eslint-config@4.13.2(@typescript-eslint/utils@8.33.0(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3))(@unocss/eslint-plugin@66.1.3(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3))(@vue/compiler-sfc@3.5.14)(astro-eslint-parser@1.2.2)(eslint-import-resolver-node@0.3.9)(eslint-plugin-astro@1.3.1(eslint@9.28.0(jiti@2.4.2)))(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3)(vitest@3.1.1(@types/debug@4.1.12)(@types/node@22.15.29)(jiti@2.4.2)(lightningcss@1.29.3)(terser@5.39.0)(tsx@4.19.4)(yaml@2.8.0))':
|
||||
dependencies:
|
||||
'@antfu/install-pkg': 1.1.0
|
||||
'@clack/prompts': 0.10.1
|
||||
|
@ -4139,8 +4142,8 @@ snapshots:
|
|||
eslint-merge-processors: 2.0.0(eslint@9.28.0(jiti@2.4.2))
|
||||
eslint-plugin-antfu: 3.1.1(eslint@9.28.0(jiti@2.4.2))
|
||||
eslint-plugin-command: 3.2.1(eslint@9.28.0(jiti@2.4.2))
|
||||
eslint-plugin-import-x: 4.14.1(eslint-import-resolver-node@0.3.9)(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
eslint-plugin-jsdoc: 50.6.17(eslint@9.28.0(jiti@2.4.2))
|
||||
eslint-plugin-import-x: 4.15.0(@typescript-eslint/utils@8.33.0(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint@9.28.0(jiti@2.4.2))
|
||||
eslint-plugin-jsdoc: 50.7.0(eslint@9.28.0(jiti@2.4.2))
|
||||
eslint-plugin-jsonc: 2.20.1(eslint@9.28.0(jiti@2.4.2))
|
||||
eslint-plugin-n: 17.18.0(eslint@9.28.0(jiti@2.4.2))
|
||||
eslint-plugin-no-only-tests: 3.3.0
|
||||
|
@ -4166,6 +4169,7 @@ snapshots:
|
|||
eslint-plugin-astro: 1.3.1(eslint@9.28.0(jiti@2.4.2))
|
||||
transitivePeerDependencies:
|
||||
- '@eslint/json'
|
||||
- '@typescript-eslint/utils'
|
||||
- '@vue/compiler-sfc'
|
||||
- eslint-import-resolver-node
|
||||
- supports-color
|
||||
|
@ -4275,7 +4279,7 @@ snapshots:
|
|||
dependencies:
|
||||
sitemap: 8.0.0
|
||||
stream-replace-string: 2.0.0
|
||||
zod: 3.25.42
|
||||
zod: 3.25.46
|
||||
|
||||
'@astrojs/telemetry@3.3.0':
|
||||
dependencies:
|
||||
|
@ -4785,7 +4789,7 @@ snapshots:
|
|||
|
||||
'@pkgr/core@0.1.2': {}
|
||||
|
||||
'@pkgr/core@0.2.4': {}
|
||||
'@pkgr/core@0.2.5': {}
|
||||
|
||||
'@playform/pipe@0.1.3':
|
||||
dependencies:
|
||||
|
@ -5010,7 +5014,7 @@ snapshots:
|
|||
'@typescript-eslint/visitor-keys': 8.33.0
|
||||
eslint: 9.28.0(jiti@2.4.2)
|
||||
graphemer: 1.4.0
|
||||
ignore: 7.0.4
|
||||
ignore: 7.0.5
|
||||
natural-compare: 1.4.0
|
||||
ts-api-utils: 2.1.0(typescript@5.8.3)
|
||||
typescript: 5.8.3
|
||||
|
@ -5532,7 +5536,7 @@ snapshots:
|
|||
normalize-path: 3.0.0
|
||||
picomatch: 2.3.1
|
||||
|
||||
are-docs-informative@0.0.2: {}
|
||||
are-docs-informative@0.1.0: {}
|
||||
|
||||
arg@5.0.2: {}
|
||||
|
||||
|
@ -5623,7 +5627,7 @@ snapshots:
|
|||
astro-robots-txt@1.0.0:
|
||||
dependencies:
|
||||
valid-filename: 4.0.0
|
||||
zod: 3.25.42
|
||||
zod: 3.25.46
|
||||
|
||||
astro@5.8.1(@types/node@22.15.29)(jiti@2.4.2)(lightningcss@1.29.3)(rollup@4.41.1)(terser@5.39.0)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.8.0):
|
||||
dependencies:
|
||||
|
@ -5685,9 +5689,9 @@ snapshots:
|
|||
xxhash-wasm: 1.1.0
|
||||
yargs-parser: 21.1.1
|
||||
yocto-spinner: 0.2.3
|
||||
zod: 3.25.42
|
||||
zod-to-json-schema: 3.24.5(zod@3.25.42)
|
||||
zod-to-ts: 1.2.0(typescript@5.8.3)(zod@3.25.42)
|
||||
zod: 3.25.46
|
||||
zod-to-json-schema: 3.24.5(zod@3.25.46)
|
||||
zod-to-ts: 1.2.0(typescript@5.8.3)(zod@3.25.46)
|
||||
optionalDependencies:
|
||||
sharp: 0.33.5
|
||||
transitivePeerDependencies:
|
||||
|
@ -6232,9 +6236,9 @@ snapshots:
|
|||
eslint: 9.28.0(jiti@2.4.2)
|
||||
eslint-compat-utils: 0.5.1(eslint@9.28.0(jiti@2.4.2))
|
||||
|
||||
eslint-plugin-import-x@4.14.1(eslint-import-resolver-node@0.3.9)(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3):
|
||||
eslint-plugin-import-x@4.15.0(@typescript-eslint/utils@8.33.0(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint@9.28.0(jiti@2.4.2)):
|
||||
dependencies:
|
||||
'@typescript-eslint/utils': 8.33.0(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@typescript-eslint/types': 8.33.0
|
||||
comment-parser: 1.4.1
|
||||
debug: 4.4.1
|
||||
eslint: 9.28.0(jiti@2.4.2)
|
||||
|
@ -6245,15 +6249,15 @@ snapshots:
|
|||
stable-hash: 0.0.5
|
||||
unrs-resolver: 1.7.8
|
||||
optionalDependencies:
|
||||
'@typescript-eslint/utils': 8.33.0(eslint@9.28.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
eslint-import-resolver-node: 0.3.9
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
- typescript
|
||||
|
||||
eslint-plugin-jsdoc@50.6.17(eslint@9.28.0(jiti@2.4.2)):
|
||||
eslint-plugin-jsdoc@50.7.0(eslint@9.28.0(jiti@2.4.2)):
|
||||
dependencies:
|
||||
'@es-joy/jsdoccomment': 0.50.2
|
||||
are-docs-informative: 0.0.2
|
||||
are-docs-informative: 0.1.0
|
||||
comment-parser: 1.4.1
|
||||
debug: 4.4.1
|
||||
escape-string-regexp: 4.0.0
|
||||
|
@ -6824,7 +6828,7 @@ snapshots:
|
|||
|
||||
ignore@5.3.2: {}
|
||||
|
||||
ignore@7.0.4: {}
|
||||
ignore@7.0.5: {}
|
||||
|
||||
import-fresh@3.3.1:
|
||||
dependencies:
|
||||
|
@ -8353,7 +8357,7 @@ snapshots:
|
|||
|
||||
synckit@0.11.8:
|
||||
dependencies:
|
||||
'@pkgr/core': 0.2.4
|
||||
'@pkgr/core': 0.2.5
|
||||
|
||||
synckit@0.9.3:
|
||||
dependencies:
|
||||
|
@ -8383,7 +8387,7 @@ snapshots:
|
|||
fdir: 6.4.5(picomatch@4.0.2)
|
||||
picomatch: 4.0.2
|
||||
|
||||
tinypool@1.0.2:
|
||||
tinypool@1.1.0:
|
||||
optional: true
|
||||
|
||||
tinyrainbow@2.0.0:
|
||||
|
@ -8691,7 +8695,7 @@ snapshots:
|
|||
std-env: 3.9.0
|
||||
tinybench: 2.9.0
|
||||
tinyexec: 0.3.2
|
||||
tinypool: 1.0.2
|
||||
tinypool: 1.1.0
|
||||
tinyrainbow: 2.0.0
|
||||
vite: 6.3.5(@types/node@22.15.29)(jiti@2.4.2)(lightningcss@1.29.3)(terser@5.39.0)(tsx@4.19.4)(yaml@2.8.0)
|
||||
vite-node: 3.1.1(@types/node@22.15.29)(jiti@2.4.2)(lightningcss@1.29.3)(terser@5.39.0)(tsx@4.19.4)(yaml@2.8.0)
|
||||
|
@ -8945,15 +8949,15 @@ snapshots:
|
|||
|
||||
yoctocolors@2.1.1: {}
|
||||
|
||||
zod-to-json-schema@3.24.5(zod@3.25.42):
|
||||
zod-to-json-schema@3.24.5(zod@3.25.46):
|
||||
dependencies:
|
||||
zod: 3.25.42
|
||||
zod: 3.25.46
|
||||
|
||||
zod-to-ts@1.2.0(typescript@5.8.3)(zod@3.25.42):
|
||||
zod-to-ts@1.2.0(typescript@5.8.3)(zod@3.25.46):
|
||||
dependencies:
|
||||
typescript: 5.8.3
|
||||
zod: 3.25.42
|
||||
zod: 3.25.46
|
||||
|
||||
zod@3.25.42: {}
|
||||
zod@3.25.46: {}
|
||||
|
||||
zwitch@2.0.4: {}
|
||||
|
|
|
@ -176,7 +176,7 @@ export const themeConfig: ThemeConfig = {
|
|||
linkPrefetch: 'viewport', // hover, tap, viewport, load
|
||||
// image hosting url
|
||||
// optimize remote images in Markdown files to avoid cumulative layout shift
|
||||
imageHostURL: 'https://image.radishzz.cc',
|
||||
imageHostURL: 'image.radishzz.cc',
|
||||
// custom google analytics js
|
||||
// for users who route analytics javascript to a customized domain
|
||||
// See https://gist.github.com/xiaopc/0602f06ca465d76bd9efd3dda9393738
|
||||
|
|
|
@ -200,7 +200,7 @@ preload: {
|
|||
linkPrefetch: 'viewport' // hover, tap, viewport, load
|
||||
// image hosting url
|
||||
// optimize remote images in Markdown files to avoid cumulative layout shift
|
||||
imageHostURL: 'https://image.radishzz.cc'
|
||||
imageHostURL: 'image.radishzz.cc'
|
||||
// custom google analytics js
|
||||
// for users who route analytics javascript to a customized domain
|
||||
customGoogleAnalyticsJS: ''
|
||||
|
@ -385,9 +385,9 @@ src/content/posts/guide/apple.md -> example.com/es/posts/banana/
|
|||
src/content/posts/2025/03/apple.md -> example.com/es/posts/banana/
|
||||
```
|
||||
|
||||
### Text Formatting Optimization
|
||||
### Mixed Text Formatting
|
||||
|
||||
Run `pnpm format-posts` to optimize the typography in Markdown files within the `src/content/` directory. This command automatically fixes spacing between CJK (Chinese, Japanese, Korean) and Latin characters, corrects punctuation marks, and improves overall text readability.
|
||||
Run `pnpm format-posts` to optimize the formatting in Markdown files within the `src/content/` directory. This command automatically fixes spacing between CJK (Chinese, Japanese, Korean) and Latin characters, corrects punctuation marks, and improves overall text readability.
|
||||
|
||||
```bash
|
||||
pnpm format-posts
|
||||
|
|
|
@ -200,7 +200,7 @@ preload: {
|
|||
linkPrefetch: 'viewport' // hover, tap, viewport, load
|
||||
// URL de alojamiento de imágenes
|
||||
// optimizar imágenes remotas en archivos Markdown para evitar cambios de diseño acumulativos
|
||||
imageHostURL: 'https://image.radishzz.cc'
|
||||
imageHostURL: 'image.radishzz.cc'
|
||||
// js personalizado de google analytics
|
||||
// para usuarios que redirigen javascript de analytics a un dominio personalizado
|
||||
customGoogleAnalyticsJS: ''
|
||||
|
@ -385,9 +385,9 @@ src/content/posts/guide/apple.md -> example.com/es/posts/banana/
|
|||
src/content/posts/2025/03/apple.md -> example.com/es/posts/banana/
|
||||
```
|
||||
|
||||
### Optimización del Formato de Texto
|
||||
### Formato de Texto Mixto
|
||||
|
||||
Ejecuta `pnpm format-posts` para optimizar la tipografía en los archivos Markdown dentro del directorio `src/content/`. Este comando corrige automáticamente los espacios entre caracteres CJK (Chino, Japonés, Coreano) y latinos, ajusta los signos de puntuación y mejora la legibilidad general del texto.
|
||||
Ejecuta `pnpm format-posts` para optimizar el formato en los archivos Markdown dentro del directorio `src/content/`. Este comando corrige automáticamente los espacios entre caracteres CJK (Chino, Japonés, Coreano) y latinos, ajusta los signos de puntuación y mejora la legibilidad general del texto.
|
||||
|
||||
```bash
|
||||
pnpm format-posts
|
||||
|
|
|
@ -200,7 +200,7 @@ preload: {
|
|||
linkPrefetch: 'viewport' // hover, tap, viewport, load
|
||||
// 画像ホスティング URL
|
||||
// Markdown ファイル内のリモート画像を最適化してレイアウトシフトを防止
|
||||
imageHostURL: 'https://image.radishzz.cc'
|
||||
imageHostURL: 'image.radishzz.cc'
|
||||
// カスタム Google Analytics JS
|
||||
// アナリティクス JavaScript をカスタムドメインにルーティングするユーザー向け
|
||||
customGoogleAnalyticsJS: ''
|
||||
|
@ -385,9 +385,9 @@ src/content/posts/guide/apple.md -> example.com/es/posts/banana/
|
|||
src/content/posts/2025/03/apple.md -> example.com/es/posts/banana/
|
||||
```
|
||||
|
||||
### 文章表記の最適化
|
||||
### 混植の最適化
|
||||
|
||||
`pnpm format-posts` コマンドを実行すると、`src/content/` ディレクトリ内の Markdown ファイルの文章表記を最適化できます。特に CJK(日本語や中国語、韓国語)と英字が混在する場合に、適切なスペースを追加し、句読点を修正するなどの処理を行います。
|
||||
`pnpm format-posts` コマンドを実行すると、`src/content/` ディレクトリ内の Markdown ファイルの書式を最適化できます。特に CJK(日本語や中国語、韓国語)と英字が混在する場合に、適切なスペースを追加し、句読点を修正するなどの処理を行います。
|
||||
|
||||
```bash
|
||||
pnpm format-posts
|
||||
|
|
|
@ -200,7 +200,7 @@ preload: {
|
|||
linkPrefetch: 'viewport' // hover, tap, viewport, load
|
||||
// URL хостинга изображений
|
||||
// оптимизировать удаленные изображения в файлах Markdown для избежания накопления сдвига макета
|
||||
imageHostURL: 'https://image.radishzz.cc'
|
||||
imageHostURL: 'image.radishzz.cc'
|
||||
// пользовательский скрипт Google Analytics
|
||||
// для пользователей, которые направляют JavaScript аналитики на собственный домен
|
||||
customGoogleAnalyticsJS: ''
|
||||
|
@ -385,9 +385,9 @@ src/content/posts/guide/apple.md -> example.com/es/posts/banana/
|
|||
src/content/posts/2025/03/apple.md -> example.com/es/posts/banana/
|
||||
```
|
||||
|
||||
### Оптимизация форматирования текста
|
||||
### Форматирование смешанного текста
|
||||
|
||||
Запустите `pnpm format-posts` для оптимизации типографики в Markdown-файлах в директории `src/content/`. Эта команда автоматически исправляет пробелы между символами CJK (китайский, японский, корейский) и латиницей, корректирует знаки пунктуации и улучшает общую читаемость текста.
|
||||
Запустите `pnpm format-posts` для оптимизации форматирования в Markdown-файлах в директории `src/content/`. Эта команда автоматически исправляет пробелы между символами CJK (китайский, японский, корейский) и латиницей, корректирует знаки пунктуации и улучшает общую читаемость текста.
|
||||
|
||||
```bash
|
||||
pnpm format-posts
|
||||
|
|
|
@ -200,7 +200,7 @@ preload: {
|
|||
linkPrefetch: 'viewport' // hover, tap, viewport, load
|
||||
// 圖床地址
|
||||
// 優化 Markdown 文件中的遠程圖片以避免佈局抖動
|
||||
imageHostURL: 'https://image.radishzz.cc'
|
||||
imageHostURL: 'image.radishzz.cc'
|
||||
// 定制 google analytics js
|
||||
// 適用於路由 google analytics js 到自定義域名的用戶
|
||||
customGoogleAnalyticsJS: ''
|
||||
|
@ -385,9 +385,9 @@ src/content/posts/guide/apple.md -> example.com/es/posts/banana/
|
|||
src/content/posts/2025/03/apple.md -> example.com/es/posts/banana/
|
||||
```
|
||||
|
||||
### 文案排版優化
|
||||
### 混排優化
|
||||
|
||||
執行 `pnpm format-posts`,可優化 `src/content/` 目錄中 Markdown 文件的文案排版,給 CJK(中文、日文、韓文)與英文混寫的場景,補充正確的空格,糾正標點符號等。
|
||||
執行 `pnpm format-posts`,可優化 `src/content/` 目錄中 Markdown 文件的排版格式。在 CJK(中文、日文、韓文)與英文混寫的場景下,補充正確的空格,糾正標點符號等。
|
||||
|
||||
```bash
|
||||
pnpm format-posts
|
||||
|
|
|
@ -200,7 +200,7 @@ preload: {
|
|||
linkPrefetch: 'viewport' // hover, tap, viewport, load
|
||||
// 图床地址
|
||||
// 优化 Markdown 文件中的远程图片以避免布局抖动
|
||||
imageHostURL: 'https://image.radishzz.cc'
|
||||
imageHostURL: 'image.radishzz.cc'
|
||||
// 定制 google analytics js
|
||||
// 适用于路由 google analytics js 到自定义域名的用户
|
||||
customGoogleAnalyticsJS: ''
|
||||
|
@ -385,9 +385,9 @@ src/content/posts/guide/apple.md -> example.com/es/posts/banana/
|
|||
src/content/posts/2025/03/apple.md -> example.com/es/posts/banana/
|
||||
```
|
||||
|
||||
### 文案排版优化
|
||||
### 混排优化
|
||||
|
||||
执行 `pnpm format-posts`,可优化 `src/content/` 目录中 Markdown 文件的文案排版,给 CJK(中文、日文、韩文)与英文混写的场景,补充正确的空格,纠正标点符号等。
|
||||
执行 `pnpm format-posts`,可优化 `src/content/` 目录中 Markdown 文件的排版格式。在 CJK(中文、日文、韩文)与英文混写的场景下,补充正确的空格,纠正标点符号等。
|
||||
|
||||
```bash
|
||||
pnpm format-posts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue