generated from mirrors/plugin-sample-vite-svelte
Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
095e2a2bb9 | |||
5bbf99b1e4 |
4 changed files with 6 additions and 3 deletions
|
@ -17,6 +17,7 @@ This plugin adds a fully featured grammar and spell checker for SiYuan, powered
|
|||
- [x] Grammar checker like Grammarly
|
||||
- [x] Free and open-source
|
||||
- [x] [Self-hostable](https://dev.languagetool.org/http-server) grammar checking server
|
||||
- [x] Offline mode (only simple spell checking)
|
||||
- [x] Underlines are not edited into your notes
|
||||
<details>
|
||||
<summary>Why does this matter?</summary>
|
||||
|
@ -42,6 +43,8 @@ This project couldn't have been possible without (in no particular order):
|
|||
- The [SiYuan](https://github.com/siyuan-note/siyuan) project
|
||||
- [SiYuan plugin sample with vite and svelte](https://github.com/siyuan-note/plugin-sample-vite-svelte)
|
||||
- [LanguageTool](https://languagetool.org/)
|
||||
- [ESpells](https://github.com/Monkatraz/espells)
|
||||
- The authors of [offline dictionaries](https://github.com/wooorm/dictionaries?tab=readme-ov-file#list-of-dictionaries)
|
||||
|
||||
Make sure you check them out and support them as well!
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "syspell",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"type": "module",
|
||||
"description": "Include a whiteboard for freehand drawing anywhere in your documents.",
|
||||
"repository": "https://git.massive.box/massivebox/siyuan-jsdraw-plugin",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "syspell",
|
||||
"author": "massivebox",
|
||||
"url": "https://git.massive.box/massivebox/syspell",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"minAppVersion": "3.0.12",
|
||||
"backends": [
|
||||
"windows",
|
||||
|
|
|
@ -15,7 +15,7 @@ export class ESpellChecker implements SpellChecker {
|
|||
|
||||
let suggestions: Suggestion[] = []
|
||||
|
||||
const regex = /[\w']+/g;
|
||||
const regex = /[\p{L}']+/gu;
|
||||
let match;
|
||||
|
||||
while ((match = regex.exec(text)) !== null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue