Looking for a native markdown editor for Ubuntu, we came across ghostwriter. We have covered Markdown editors like uText or Haroopad or Stackedit earlier. Many of they were reasonably good but were bulky or had lots of dependencies. ghostwriter depends only on Qt and provides a nice (GitHub) markdown experience. We specifically liked features like the live preview (not side-by-side though), distraction-free mode and in-menu markdown options (so that you don’t need to remember a lot of syntax and can focus on the writing).
- syntax highlighting of Markdown
- navigation of document headings
- full-screen mode
- focus mode that highlights the current sentence, line, three lines, or paragraph
- two built-in themes, one light and one dark
- theme creator for custom colors and background images
- custom fonts
- spell checking with Hunspell
- live word count
- A live HTML preview as you type
- direct-copy as HTML (useful for blogs, web articles)
- supports custom CSS style sheets for HTML preview
- image URL insertion via dragging and dropping an image file into the editor
- Sundown processor built in for preview and export to HTML
- integrates other Markdown processors (if installed) for preview and export to popular document formats, such as PDF, ODT, and RTF: Pandoc, MultiMarkdown, Discount, cmark
We did face issues with export to different formats, ghostwriter didn’t save the docs on Ubuntu Trusty at all. However, the Copy HTML option saved us while writing this article.
In addition, a side by side preview pane in the same window would have been a lot easier to manage than 2 different windows.
To install ghostwriter on Linux, run:
$ sudo add-apt-repository ppa:wereturtle/ppa $ sudo apt-get update $ sudo apt-get install ghostwriter