11 Best Markdown Editors for Linux

Markdown is a simple markup language. It’s lightweight and easy to learn. If you haven’t seen any markdown document yet, just head over to GitHub and enter any open-source project. The README file almost certainly will be written using Markdown.

Basically, you use some ‘code’ before your text and your text will be formatted for display accordingly. For example, if you use asterisks (*) before and after the text, it will be displayed in bold text. Not just GitHub, even several social media websites support Markdown, including Facebook.

It’s often useful in writing documents, especially for developers. You can refer to this Markdown cheat sheet for quick reference.

Non-FOSS alert!

Some applications mentioned here are not open source. They are listed here because they are available on Linux and the article’s focus is on Linux.

Best Markdown Editors for Linux

best Markdown editors for Linux

Today we’re going to present a list of what we think are the best Markdown editors for Linux. Just for clarification, the list is not in any specific order.

If you do not want to install a software, you may check the list of online markdown editors.

Please note that this is not a ranking list.

1. Remarkable

Remarkable Screenshot

Remarkable has been around for years. It has a minimal and simple user interface. The main points of Remarkable are:

  • Interface: Dual pane (Source & Preview)
  • Extra Markdown features: Footnotes, superscript, subscript, abbreviations etc. (Pandoc‘s syntax)
  • GitHub flavored Markdown: Yes
  • Code Syntax Highlighting: Yes
  • Export to: HTML & PDF
  • Math Blocks: MathJax support
  • Customizable: Styling via CSS
  • Misc: Plugins & extensions

Remarkable is under active development at the GitHub Project Page. It is worth noting that it is absolutely lightweight.

Install Remarkable on Linux

You can easily grab the DEB file from the Remarkable download page and install it on any Debian-based distro. In case you didn’t know, you can explore different ways to install a DEB files.

Installing using the deb file in Ubuntu 20.04 will give you an error because of dependency issues, but it should work in 19.10 or lower. You can also find it in AUR if you’re using an Arch-based Linux distribution.

2. GitBook

Gitbook Editor

GitBook is a  modern open-source and simple online solution to documentation, digital writing and publishing. And their editor fully supports markdown format.

  • Interface: Full fledged document processor
  • GitHub flavored Markdown: Yes
  • Code Syntax Highlighting: Yes
  • Export to: HTML, PDF, ePub, MOBI etc.
  • Math Blocks: Yes
  • Customizable: Extensive customization options
  • Misc: Git integration, Plugins

It is worth noting that it is an online-only editor which was previously available as a standalone app for Linux. So, you’d need to use your browser to make use of it.

If you need a feature-rich document processor that supports markdown, can keep track of document history or want to write a book using markdown document, GitBook is definitely for you!

3. Abricotine

Abricotine Screenshot

Abricotine is an open-source markdown editor based on modern web technology. The main features of Abricotine:

  • Interface: Single pane with live preview
  • GitHub flavored Markdown: Yes
  • Code Syntax Highlighting: Yes
  • Export to: HTML
  • Math Blocks: LateX
  • Customizable: Templates
  • Misc: Table of content in side pane

It’s simple and easy to use. Also, you get a live preview of the markdown text in the same window to make things easier.

Install Abricotine on Linux

For Debian-based distros, you can get the DEB file from its GitHub releases section and install it.

If you’re running any other Linux distro or Windows/Mac, you might want to check the official installation instructions.

4. ghostwriter

Ghostwriter Screenshot

ghostwriter is a simple, distraction-free editor for markdown. Let’s see what it offers:

  • Interface: Single pane
  • GitHub flavored Markdown: Yes
  • Code Syntax Highlighting: No
  • Export to: HTML (& more by dependencies)
  • Math Blocks: No
  • Customizable: Themes, Styles
  • Misc: Focus & Hemingway Mode, Cheat sheet

ghostwriter had a theme repository on GitHub if you want to explore making a custom theme for yourself. It also offers in-built themes.

If you want a dead simple, minimal and robust markdown editor without any fancy features, ghostwriter is really a good choice.

Install ghostwriter on Linux

You can either utilize the Flatpak package available for any Linux distro or add the PPA to install it on a Debian-based distro using the following command:

sudo add-apt-repository ppa:wereturtle/ppa
sudo apt update
sudo apt install ghostwriter

If you didn’t know about Flatpak, I’d suggest you to check out our Flatpak guide. In either case, you can refer to its GitHub releases page to explore options to install it on other Linux distros.

Recommended Read:

5. Apostrophe

Apostrophe

Apostrophe is a fork of UberWriter by the original developers (kind of a re-brand). It aims to be a distraction-free Markdown editor.

It uses pandoc for markdown while offering a clean and intuitive user experience. You can opt to get live-preview by enabling the half-width view and explore other options as needed.

Install Apostrophe on Linux

It provides a Flatpak package if you prefer using it on any Linux distribution. You can find it in AUR for Arch Linux and Fedora’s official repository to directly install it from the terminal.

For more information on it, you can head to their GitLab page.

6. ReText

Re Text Screenshot

ReText is a simple open-source text editor for markup languages like Markdown and reStructuredText. Let’s have a look at ReText features:

  • Interface: Single or Dual pane
  • GitHub flavored Markdown: No
  • Code Syntax Highlighting: No
  • Export to: HTML, ODT, PDF
  • Math Blocks: Yes (MathJax/online)
  • Customizable: Color scheme
  • Misc: Export extensions & Markdown extensions

If you’re working with reStructuredText and looking for a simple editor that also supports Markdown, this could be a great pick.

Install ReText on Linux

On Debian-based distros, you should be able to find it in the Software Center. Or, you can also install it through the terminal by typing:

sudo apt install retext

You can explore other options on its GitHub page for different Linux distros.

7. Mark My Words

Mark My Words Interface

Mark My Words is a minimal markdown editor. Here are features that you’ll find:

  • Interface: Dual pane
  • GitHub flavored Markdown: No
  • Code Syntax Highlighting: No
  • Export to: HTML & PDF
  • Math Blocks: No

It is an interesting open-source markdown editor that’s simple to use while offering the essential features.

Install Mark My Words on Linux

It does not support Ubuntu 20.04 yet (at the time of updating this article). However, you can try it on Ubuntu 19.10 or lower by typing in the following commands in your terminal:

sudo add-apt-repository ppa:voldyman/markmywords
sudo apt update
sudo apt install mark-my-words

There’s also a package available for openSUSE, but you would need to explore its GitHub page to explore more about it.

8. Scrivenvar

Scrivenvar

Scrivenvar is an interesting Java-based markdown editor that supports live preview and string interpolation as well.

The user interface is easy to use as well. As far as my initial impressions go, it features all the essential features of a markdown editor. User-defined string interpolation and real-time live preview are two of key highlights here.

Install Scrinvenvar on Linux

It offers an executable binary file on its GitHub page. You just have to download it, navigate to path where you store it, make it executable, and run it.

As an example, I have it on my Downloads directory, here’s what I need to type:

cd Downloads
chmod +x scrivenvar.bin
./scrivenvar.bin

You can explore more about it for other platforms (Windows/Mac) on its GitHub page.

9. Typora (Not FOSS)

Typora Screenshot

When it comes to markdown editors, Typora is as simple and elegant as it gets. It’s one of the most polished and feature-rich markdown editors we have encountered.

Let’s take a look at what Typora offers:

  • Interface: Single pane seamless preview with live rendering support
  • Extra Markdown features: Table of Content, Diagrams
  • GitHub flavored Markdown: Yes
  • Code Syntax Highlighting: Yes
  • Export to: HTML, PDF, ePub, Word, OpenOffice and a bunch of other formats.
  • Math Blocks: Tex/LaTex support
  • Customizable: Themes
  • Misc: Typewriter, Focus and Source Code Modes.

Typora also offers a Themes Gallery and detailed Support Documentation.

The only drawback Typora has is that it isn’t open source and according to their official website, it’s free only during the beta version. So, when the stable build will be released you may have to pay for it.

Install Typora on Linux

You can download the binary file (archived package) from the official website or enter the following commands to add the repository and install it on Ubuntu:

wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt update
sudo apt install typora

10. Caret (Not FOSS)

Caret Screenshot

Caret is a premium markdown editor with minimal interface and a bunch of robust markdown features. Let’s take a look at those:

  • Interface: Single or Dual pane
  • Extra Markdown features: Table of contents, footnotes etc.
  • GitHub flavored Markdown: Yes
  • Code Syntax Highlighting: Yes
  • Export to: PDF
  • Math Blocks: Yes
  • Customizable: Theme
  • Misc: Dark, Focus & Typewriter Modes, Auto-completion etc.

The high cost (about $29 for a license) can be a deal breaker for Linux users looking for FOSS solutions. Otherwise, it’s a great markdown editor.

Install Caret on Linux

You can find both DEB and RPM packages in their GitHub releases section. You just have to download them and install. Even though the latest releases are labelled as beta versions, it still works well.

11. WordMark (Not FOSS)

Wordmark Screenshot

WordMark is a lightweight markdown editor with publishing tools for online platforms. WordMark offers the followings:

  • Interface: Single or Dual pane with optional sidebar
  • GitHub flavored Markdown: Yes
  • Code Syntax Highlighting: Yes
  • Math Blocks: Yes
  • Customizable: Appearance
  • Misc: Focus & Vim Modes, Publish to various online platforms

Even though it’s not an open-source solution, it works pretty well on Linux and it’s something worth a try.

Install WordMark on Linux

At the time of updating this article, WordMark offered only a DEB package in its GitHub release section. So, if you’re using any other Linux distro except Debian-based options, you may have to explore its official website to find solutions (if there’s any)

Recommended Read:

Honorable Mentions

1. Haroopad (Discontinued)

Haroopad is a feature-rich markdown editor. It’s still in beta stage. Haroopad mainly offers the following features:

  • Interface: Dual pane
  • Extra Markdown features: Various kind
  • GitHub flavored Markdown: Yes
  • Code Syntax Highlighting: Yes
  • Export to: HTML & PDF
  • Math Blocks: LaTeX (using MathJax)
  • Customizable: Themes & Skins
  • Misc: Extensions support

FOSS? Absolutely!

Haroopad Interface
Haroopad Interface

Haroopad hasn’t been updated for the last three years. But it works just fine if you can get used to it.

Install Haroopad on Ubuntu

Download the DEB package from Haroopad download page and install it via GDebi.

2. LightMd Editor (Discontinued)

LightMd Editor is (as the name suggests) a light weight markdown editor.

  • Interface: Multi Tabbed
  • Extra Markdown features: N/A
  • GitHub flavored Markdown: No
  • Code Syntax Highlighting: No
  • Export to: N/A
  • Math Blocks: N/A
  • Customizable: N/A
  • Misc: Focus Mode

FOSS? Yes.

LightMd Editor Interface
LightMd Editor Interface

Install LightMd on Ubuntu

Run these commands in terminal:

echo "deb [trusted=yes] https://repo.fury.io/bhavyanshu/ /" | sudo tee -a /etc/apt/sources.list.d/fury.list
3. EME (Discontinued)

Elegant Markdown Editor (EME)

  • Interface: Single or Dual pane
  • Extra Markdown features: N/A
  • GitHub flavored Markdown: Yes
  • Code Syntax Highlighting: Yes
  • Export to: PDF
  • Math Blocks: Yes
  • Customizable: N/A
  • Misc: Focus, Night, Presentation & Vim Modes, Auto-sync with GitHub Gist

FOSS? Yup!

EME Interface
EME Interface

Install EME on Ubuntu

Just run the following commands:

cd /tmp
wget -O EME.deb $(curl -s https://api.github.com/repos/egoist/eme/releases/latest | grep browser_download_url | grep deb | head -n 1 | cut -d '"' -f 4)
sudo dpkg -i EME.deb
4. PileMd (Discontinued)

PileMd is more of a markdown note taking application rather than being just an editor.

  • Interface: Single pane with sidebar
  • Extra Markdown features: N/A
  • GitHub flavored Markdown: Yes
  • Code Syntax Highlighting: Yes
  • Export to: N/A
  • Math Blocks: No
  • Customizable: N/A
  • Misc: N/A

It’s an open-source tool that helps you take notes and also use it as a markdown editor for other work.

PileMd Interface
PileMd Interface

Install PileMd on Ubuntu

Run the following commands for installing PileMd:

cd /tmp
wget -O PileMd.zip $(curl -s https://pilemd.com | grep pilemd.linux | cut -d '"' -f 2)
unzip PileMd.zip -d ~/.PileMd
sudo ln -s $HOME/.PileMd/PileMd-linux-x64/PileMd /usr/bin/PileMd

Then you can run PileMd with the command:

PileMd

Wrapping Up

While there are a lot of markdown editors out there. Here, we tried to list the best of them.

Which one do you consider the best Markdown editors for Linux? Did we miss your favorite Markdown editor? Let us know your thoughts in the comments below.

Similar Posts

  • Anyone finding Remarkable, which is my preferred Markdown app, no longer will export to html for some reason. If I choose either styled or unstyled export I end up with a 0 bytes exported file. This is worrying as it used to work in an older version. Anyone have a solution to this?

  • Caret is a dead project and has been dead for a couple of years now. Developers tried to rewrite it as “Nota” (MacOS only), but looks like Nota is barely alive either.