Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Is there any text editor with support for Markdown (formatting syntax used by Ask Ubuntu) which can be used to write questions or answers while you are offline?

share|improve this question
The overkill option, as always, is emacs. markdown-mode works well, but I wouldn't be surprised if someone had built an entire asynchronous Stack Exchange client in emacs. – Darael Nov 15 at 15:12

4 Answers 4

up vote 11 down vote accepted

Try Retext which supports markdown. Retext has been in Ubuntu since 12.04 precise. For earlier Ubuntu releases, or if you want a more recent version of Retext, get it from the project home page or from a PPA.

sudo add-apt-repository ppa:mitya57/ppa
sudo apt-get update
sudo apt-get install retext

This will install Retext.

If you want a gedit plugin with markdown support:

  1. Download this and extract the file in ~/Download directory.

  2. Open a terminal, cd to the ~/Downloads/gedit-markdown-master directory and run ./ install.

  3. Restart Gedit and you have a markdown plugin, enable it and enjoy ! .

Note: You can anytime preview markdown by entering Ctrl+Alt+M.

share|improve this answer
Thanks for reply, Is there any which is gtk-based – Anwar Shah May 13 '12 at 14:30
I don't know of such. You can also use your favorite text editor with some command line markup tool (i.e. python markdown) or have a look at this: Markdown for the Gedit – zetah May 13 '12 at 14:46
Thanks for the info, I have edited the answer to include more things and I think, I can accept this. – Anwar Shah May 13 '12 at 15:26
@zetah. The Gedit download url is 404. – Parto Jul 2 '14 at 6:38
@Parto, try here: (did not test it, just found by Google) – zetah Jul 2 '14 at 12:10

You can try Retext or Haroopad (both let you edit your markdown code and preview it)


enter image description here

Image source


enter image description here

Image Source - Haroopad

share|improve this answer

Atom has built-in support for Markdown editing;

You can hit SHIFT+CTRL+M at any time to toggle the Markdown preview window:


share|improve this answer


Remarkable Main Screenshot

Remarkable is a fully featured markdown editor with the following features:

Remarkable with Dark GTK3 Theme

Homepage: Remarkable App
Source Repo: Remarkable on GitHub
License: Open Source under MIT License
Download: Remarkable's Download page provides deb package for Ubuntu

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.