No description
Find a file
2022-02-14 12:46:38 +09:00
build build: update build method 2021-08-20 22:45:12 +08:00
img add: md用の画像を追加 2022-02-12 05:08:16 +09:00
src feat: IDを変更 2022-02-14 12:46:38 +09:00
.eslintignore build: update build method 2021-08-20 22:45:12 +08:00
.eslintrc.js refactor: update patch method; update eslint config 2021-09-03 10:26:29 +08:00
.gitignore ignore: .DS_Storeを追加 2022-02-12 05:28:56 +09:00
.prettierrc build: update build method 2021-08-20 22:45:12 +08:00
LICENSE chore: ライセンスを更新 2022-02-11 20:49:08 +09:00
manifest.json feat: IDを変更 2022-02-14 12:46:38 +09:00
NOTICE.md feat: tiny-segmenterをオリジナルのものに変更 2022-02-12 04:08:22 +09:00
package.json add: tiny-segmenterを追加 2022-02-11 21:06:20 +09:00
README.md feat: IDを変更 2022-02-14 12:46:38 +09:00
rollup.config.js fix: rollupの度にmain.jsが..にコピーされるように修正 2022-02-11 22:23:45 +09:00
tsconfig.json feat: tiny-segmenterをオリジナルのものに変更 2022-02-12 04:08:22 +09:00
versions.json chore: versions.jsonを編集 2022-02-11 21:55:08 +09:00

Word Splitting for Japanese in Edit Mode

A patch for Obsidian's built-in CodeMirror Editor to support Japanese word splitting

Obsidian内蔵のCodeMirrorエディタが日本語の単語分割をサポートするためのパッチ

This plugin is based on the chs word splitting module by @linonetwo and modified to Japanese version.
For Japanese word segmentation, we used tiny-segmenter created by Taku Kudo.
Special Thanks to @linonetwo and Taku Kudo!

Demo

Obsidian's Default Word Splitting
パッチを適用していない場合
Patched
パッチを適用した場合
ob-default-splitting ob-patched-splitting

Compatibility

The required API feature is only available for Obsidian v0.13.8+.
必要なAPI機能はObsidian v0.13.8+でのみ利用可能です.

Installation インストール方法

From Obsidian

  1. Open Settings > Community plugin
  2. Make sure Safe mode is off
  3. Click Browse in Community plugins
  4. Search for this plugin
  5. Click Install
  6. Once installed, click Enable and the patch is ready to use.

  1. 設定からコミュニティプラグインを開きます.
  2. セーフモードがオフであることを確認します.
  3. コミュニティプラグイン閲覧をクリックします.
  4. このプラグインを検索します.
  5. インストールをクリック
  6. インストールが完了したら,有効化を押すことで,パッチは使用可能な状態になります.

From GitHub

  1. Download the Latest Release from the Releases section of the GitHub Repository
  2. Put files to your vault's plugins folder: <vault>/.obsidian/plugins/japanese-word-splitter
  3. Reload Obsidian
  4. If prompted about Safe Mode, you can disable safe mode and enable the plugin. Otherwise head to Settings, third-party plugins, make sure safe mode is off and enable the plugin from there.

Note: The .obsidian folder may be hidden. On macOS you should be able to press Command+Shift+Dot to show the folder in Finder.


  1. GitHubリポジトリのReleasesからLatest Releaseをダウンロードします
  2. vaultのpluginsフォルダにファイルを配置します<vault>/.obsidian/plugins/japanese-word-splitterにファイルを置きます.
  3. Obsidianをリロードします
  4. セーフモードについてプロンプトが表示されたら,セーフモードを無効にしてプラグインを有効にすることができます.それ以外の場合は,設定からコミュニティプラグインに移動し,セーフモードがオフになっていることを確認し,そこからプラグインを有効にしてください.

注意: .obsidian フォルダは隠されている可能性がありますmacOSではCommand+Shift+Dotを押すとFinderでフォルダを表示できるはずです