1.0.6 • Published 6 months ago
@yank-note/extension-spellchecker v1.0.6
Spellchecker
This extension uses the hunspell-asm and monaco-spellchecker libraries to provide spellchecking capabilities in the editor.
Enable or disable spellchecking
- You can enable or disable spellchecking by menu
Tool
->Check Spelling
. - 你可以通过菜单
工具
->拼写检查
来启用或禁用拼写检查。
Change the language
- The default language is English, but you can change it by setting.
- 默认语言是英语,但你可以通过设置来更改。
- Download the dictionary file
.dic
and.aff
from Web (e.g. https://github.com/wooorm/dictionaries/tree/main/dictionaries) - Put the dictionary file to the
<home>/yank-note/data/@yank-note$extension-spellchecker
directory - Set the language in the settings.
- Change the word matching regular expression if necessary.
- 下载
.dic
和.aff
的字典文件 (例如 https://github.com/wooorm/dictionaries/tree/main/dictionaries) - 将字典文件放到
<home>/yank-note/data/@yank-note$extension-spellchecker
目录下 - 在设置中设置语言
- 如有必要,请更改单词匹配正则表达式。
Files
- All dictionary files are placed in the
<home>/yank-note/data/@yank-note$extension-spellchecker
directory. ignore.txt
: The words in this file will be ignored by the spellchecker.user-dic.txt
: The words in this file will be added to the dictionary, which can be used for word suggestions.
- 所有的字典文件都放置在
<home>/yank-note/data/@yank-note$extension-spellchecker
目录中。 ignore.txt
: 此文件中的单词将被拼写检查器忽略。user-dic.txt
: 此文件中的单词将被添加到字典中,可用于单词建议。