rehype-text-autospace

TypeScript
GitHub 2024年9月 ~

CI NPM Version

日本語と英語の間に間隔を開ける rehype プラグインです。

動作例

以下のマークダウンを rehype-text-autospace を使用して処理した結果と使用せずに処理した結果の比較です。

# rehype-text-autospaceとは

rehype-text-autospaceは日本語と英語の間に自動でスペースを入れる[rehype](https://github.com/rehypejs/rehype) Pluginです。

以下のような環境で使用できます。

- unifiedやAstro
rehype-text-autospace 無し
without
rehype-text-autospace 有り
with