Bookstack: Spell checking in markdown editor

Created on 2 Feb 2018  路  5Comments  路  Source: BookStackApp/BookStack

We would like to use spell checking, however it does not seem to work in the markdown editor. I have confirmed that the WYSIWYG editor works as intended.

Is it possible to add spell checking for markdown? I realise that this is probably non-trivial, given the formatting of markdown as compared to plain text.

Enhancement

Most helpful comment

Any update on this? Would really like spell check in markdown mode or at least to use my browser spell checker.

All 5 comments

There is https://github.com/sparksuite/codemirror-spell-checker but I haven't tried to implement it. The Markdown editor uses CodeMirror for the editor portion so this should apply.

I spent some time looking into this.

So one problem with that spell checker linked by @domainzero is that it supports only English.

A PR was created to add support for multiple languages here but was never merged.

We could fork that repo, merge that PR and then use the dictionaries maintained here

@ssddanbrown - What do you think?

Note there is also another implementation of spellchecker for codemirror here.

Demo - https://codepen.io/anon/pen/veGzWN?editors=1000

Ideally I'd like to use the browser spell checker, as it would support all languages and allow me to use my own added words. This however doesn't work with CodeMirror; discussion here: https://github.com/codemirror/CodeMirror/issues/1017

It's a pretty big drawback to have no spellchecking with the markdown editor, are there other editors can that be integrated which are more browser spellchecker friendly?

Any update on this? Would really like spell check in markdown mode or at least to use my browser spell checker.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mtnyaeger picture mtnyaeger  路  3Comments

Nedimko123 picture Nedimko123  路  3Comments

gab-cass picture gab-cass  路  3Comments

ensemblebd picture ensemblebd  路  3Comments

mackcoding picture mackcoding  路  3Comments