From 50da66a33dc9a42e3ee6e0c46eaa4b02e6b8751a Mon Sep 17 00:00:00 2001 From: Yasutake Yohei Date: Wed, 1 Jul 2026 23:54:35 +0900 Subject: textlint-guide: タイトル変更、<を修正、サイドバー名を「活動を支えるツール」に MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astro.config.mjs | 4 ++-- 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 -->` で再有効化 +- `` で無効化 +- `` で再有効化 `.mdx` ファイル(Starlight / Astro)では、MDXの構文制約のため、`{/* */}` で囲みます。 -- `{/* <!-- textlint-disable prh --> */}` で無効化 -- `{/* <!-- textlint-enable prh --> */}` で再有効化 +- `{/* */}` で無効化 +- `{/* */}` で再有効化 :::note ##### 📝 MDXでの注意点 -- cgit v1.3.1