diff options
| -rw-r--r-- | astro.config.mjs | 4 | ||||
| -rw-r--r-- | src/content/docs/textlint-guide.mdx | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/astro.config.mjs b/astro.config.mjs index 4593b98..867734e 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -149,7 +149,7 @@ export default defineConfig({ }, { label: "ご支援", link: "/support/" }, { - label: "技術ガイド", + label: "活動を支えるツール", collapsed: true, items: [ { @@ -157,7 +157,7 @@ export default defineConfig({ link: "/whisper-to-ai-moji-okoshi/", }, { - label: "textlintではじめる日本語文章校正", + label: "textlintで文章校正する方法", link: "/textlint-guide/", }, ], diff --git a/src/content/docs/textlint-guide.mdx b/src/content/docs/textlint-guide.mdx index 494fbc3..735714c 100644 --- a/src/content/docs/textlint-guide.mdx +++ b/src/content/docs/textlint-guide.mdx @@ -1,5 +1,5 @@ --- -title: textlintで日本語校正する方法(Zed) +title: textlintで文章校正する方法 description: 日本語の文章をリアルタイムで校正するtextlintを、Zedエディタで使う方法。自作LSPサーバーの導入からルール設定、自動修正、無効化までを解説します。 --- @@ -88,13 +88,13 @@ Zedの拡張機能一覧に「textlint」が表示されたら、ワンクリッ `.md` ファイルではHTMLコメント形式で記述します。 -- `<!-- textlint-disable prh -->` で無効化 -- `<!-- textlint-enable prh -->` で再有効化 +- `<!-- textlint-disable prh -->` で無効化 +- `<!-- textlint-enable prh -->` で再有効化 `.mdx` ファイル(Starlight / Astro)では、MDXの構文制約のため、`{/* */}` で囲みます。 -- `{/* <!-- textlint-disable prh --> */}` で無効化 -- `{/* <!-- textlint-enable prh --> */}` で再有効化 +- `{/* <!-- textlint-disable prh --> */}` で無効化 +- `{/* <!-- textlint-enable prh --> */}` で再有効化 :::note ##### 📝 MDXでの注意点 |
