Markdown for the Gedit Text Editor on Ubuntu 11.04

This is the continuation of the topic gedit Markdown plugin and the comment by Jean-Philippe Fleury, the author of the plugin.

If you frequently have to create Markdown documents, you might want your text editor of choice to support you. Jean-Philippe Fleury developed a nice plugin for Gedit to support Markdown. The plugin can help in two ways: It can apply coloured syntax markup and add a preview pane showing you a rendered version of the markdown code you just entered using [Shift]+[Control]+[m] (configurable via a config file).

Installation

cd ~/Downloads/
wget http://www.jpfleury.net/site/fichiers/gedit-markdown/gedit-markdown.zip
unzip gedit-markdown.zip
./gedit-markdown/gedit-markdown.sh install

The installer will first test for the requirements, and then ask you two questions:

  1. Which version of Markdown to install (standard/Extra)
  2. Where you want the preview pane for the HTML output to be placed: Side bar (latéral) or bottom pane (inférieur).

Usage

Now open Gedit.

  • Enable syntax highlighting using View → Highlight Mode → Markup → Markdown (automatically applied to files with the extensions .markdown, .md and .mkd).
  • Also activate the preview pane (the plugin) in gedit (Edit → Preferences → Plugins)!

Screen Shots

Default Markdown syntax highlighting in gedit.

Markdown Preview in the bottom panel of gedit.

Resources

Comments