blog/source/_posts/spellcheck-language-ghostwr...

3.3 KiB

title excerpt date lastUpdated tags
Change spellcheck language in Ghostwriter It supports Hunspell dictionaries for spellcheck of other languages. 2018-10-14 2019-06-06
markdown

Ghostwriter is a Markdown editor with html preview. Previously I used StackEdit, but it's web-based.

It has built-in US English spellcheck. It supports Hunspell dictionaries for other languages.

To install other languages is easy, for Danish:

$ sudo apt install hunspell-da

Substitute apt with your distro's package manager. In Ghostwriter, go to Settings > Preferences > Spell Check (tab), and select the desired language. You might need to toggle the spellcheck or switch the language back and forth for it to work.

Here is a list of Hunspell dictionaries in Ubuntu (18.04) repo:

Package Language
hunspell-af Afrikaans
hunspell-an Aragonese
hunspell-ar Arabic
hunspell-be Belarusian
hunspell-bg Bulgarian
hunspell-bn Bengali
hunspell-bo Classical Tibetan language
hunspell-br Breton language
hunspell-bs Bosnian
hunspell-ca Catalan
hunspell-cs Czech
hunspell-da Danish
hunspell-de-at Austrian (German)
hunspell-de-at-frami German (Austria)
hunspell-de-ch Swiss (German)
hunspell-de-ch-frami German (Switzerland)
hunspell-de-de German
hunspell-de-de-frami German
hunspell-de-med German medical
hunspell-dz Dzongkha language
hunspell-el Modern Greek
hunspell-en-au English (Australia)
hunspell-en-ca English (Canada)
hunspell-en-gb English (GB)
hunspell-en-med English medical
hunspell-en-us English (US)
hunspell-en-za English (South Africa)
hunspell-es Spanish
hunspell-eu Basque (Euskera)
hunspell-fr French
hunspell-fr-classical French
hunspell-fr-comprehensive French
hunspell-fr-modern French
hunspell-fr-revised French
hunspell-gd Scottish Gaelic
hunspell-gl Galician
hunspell-gl-es Galician
hunspell-gu Gujarati
hunspell-gug Guarani
hunspell-he Hebrew
hunspell-hi Hindi
hunspell-hr Croatian
hunspell-hu Hungarian
hunspell-is Icelandic
hunspell-it Italian
hunspell-kk Kazakh
hunspell-kmr Kurmanji
hunspell-ko Korean
hunspell-lo Laotian
hunspell-lt Lithuanian
hunspell-ml Malayalam
hunspell-ne Nepalese
hunspell-nl Dutch
hunspell-no Norwegian
hunspell-oc Occitan
hunspell-pl Polish
hunspell-pt-br Brazilian Portuguese
hunspell-pt-pt Portuguese
hunspell-ro Romanian
hunspell-ru Russian
hunspell-se North Sámi Hunspell
hunspell-si Sinhala
hunspell-sk Slovak
hunspell-sl Slovene
hunspell-sr Serbian
hunspell-sv Swedish
hunspell-sw Swahili
hunspell-te Telugu
hunspell-th Thai
hunspell-uk Ukrainian
hunspell-uz Uzbek
hunspell-vi Vietnamese

Edit (06/06/2019): Recently discovered Inkdrop through HN. It's a note-taking app that supports Markdown and can sync across devices. I think the best feature is its ability to sync the scrolling in editor and HTML output, which is absent in Ghostwriter. I only need a simple editor for my current use case, though I might consider it when I have >50 posts.

Reading through the HN comments, I also discovered Visual Studio Code also supports Markdown and HTML preview. For a Markdown editor, it's probably overkill though.