Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there any text editor which supports Markdown (Ask Ubuntu style formatting) which can be used to write questions or answers while you are offline?

share|improve this question
add comment

2 Answers 2

up vote 9 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 ./gedit-markdown.sh 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
1  
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 at 6:38
    
@Parto, try here: jpfleury.net/en/software/gedit-markdown.php (did not test it, just found by Google) –  zetah Jul 2 at 12:10
add comment

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

Retext

enter image description here

Image source

Haroopad

enter image description here

Image Source - Haroopad

share|improve this answer
add comment

Your Answer

 
discard

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.