New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added multilanguage support #39

wants to merge 4 commits into
base: development
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+35 −3
Diff settings


Just for now

Copy path View file
@@ -40,6 +40,24 @@ CodeMirror.fromTextArea(document.getElementById("textarea"), {

That's it!

## Other languages
In order to use another language instead of `en_US` you just have to provide an additional piece of configuration:

codeMirrorInstance: CodeMirror,
customDict: {
dic: "",
aff: ""
CodeMirror.fromTextArea(document.getElementById("textarea"), {
mode: "spell-checker",
backdrop: "gfm" // Your desired mode

## Customizing
You can customize the misspelled word appearance by updating the CSS. All misspelled words will have the `.cm-spell-error` class.

Oops, something went wrong.
ProTip! Use n and p to navigate between commits in a pull request.