Author: Vitaliy Berdinskikh
Version: 0.1.0
MarkdownPlugin is a plugin for jEdit that can render Markdown text from the current buffer or from selected text. The resulting HTML is written to a new buffer or copied to the clipboard. The plugin can also show a preview in a web-browser (using the Info Viewer plugin).
Markdown is an easy-to-read, easy-to-write plain text format. Using this plugin you can convert it to structurally valid XHTML (or HTML).
MarkdownPlugin based on pegdown - the pure java Markdown processor.
Use the plugin manager for easiest installation.
For manual installation download MarkdownPlugin.tar.bz2 then unpack it to YOUR HOME DIRECTORY/.jedit/jars.
Two actions provided by this plugin are available in the Markdown menu: render text and show a preview in a web broser. For first action you can choose in plugin's options where plugin put rendered HTML: a new buffer, the jEdit's clipboard or show a preview in a web broser (the same as second action).
Paragraphs
A paragraph is one or more consecutive lines of text separated by one or more blank lines. Normal paragraphs should not be indented with spaces or tabs:
This is a paragraph. It has two sentences.
This is another paragraph. It also has two sentences.
Line return
Line breaks inserted in the text are removed from the final result: the web browser is in charge of breaking the lines depending of the available space. To force a line break, insert two spaces at the end of the line.
Emphasized text
*emphasis* or _emphasis_ (more common) (e.g., italics)
**strong emphasis** (more common) or __strong emphasis__ (e.g., boldface)
Code
To include code (formatted in monospace font), you can either:
use `` for one line of code, like in
`some code`
indent several lines of code by at least four spaces which prevents Markdown from removing all whitespaces, breaking indentation and code layout.
Lists
* An item in a bulleted (unordered) list
* A subitem, indented with 4 spaces
* Another item in a bulleted list
1. An item in an enumerated (ordered) list
2. Another item in an enumerated list
Headings
HTML headings are produced by placing a number of hashes before the header text corresponding to the level of heading desired (HTML offers six levels of headings), like so:
# First-level heading
#### Fourth-level heading
The first two heading levels also have an alternate syntax:
First-level heading
===================
Second-level heading
--------------------
Blockquotes
> This text will be enclosed in an HTML blockquote element.
> Blockquote elements are reflowable. You may arbitrarily
> wrap the text to your liking, and it will all be parsed
> into a single blockquote element.
Links
Links may be included inline:
[link text here](link.address.here "link title here")
Alternatively, links can be placed in footnotes outside of the paragraph, being referenced with some sort of reference tag. For example, including the following inline:
[link text here][linkref]
would produce a link if the following showed up outside of the paragraph (or at the end of the document):
[linkref]: link.address.here "link title here"
Images
Referring to images is similar to including links. The syntax requires an exclamation point to indicate the link refers to an image.
The image address may be included inline, as with links:

It may also be referred to via a reference:
![Alt text here][imageref]
Here, imageref refers to information somewhere after the image:
[imageref]: image.url.here "Image title here"
Horizontal rules
Horizontal rules are created by placing three or more hyphens, asterisks, or underscores on a line by themselves. You may use spaces between the hyphens or asterisks. Each of the following lines will produce a horizontal rule:
* * *
***
*****
- - -
---------------------------------------
You can choose these extensions in plugin's options.
Abbreviation
Support for abbreviations (HTML tag ). How it works is pretty simple: create an abbreviation definition like this:
*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium
then, elsewhere in the document, write text such as:
The HTML specification
is maintained by the W3C.
and any instance of those words in the text will become:
The <abbr title="Hyper Text Markup Language">HTML</abbr> specification
is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>.
Abbreviation are case-sensitive, and will span on multiple words when defined as such. An abbreviation may also have an empty definition, in which case tags will be added in the text but the title attribute will be omitted.
Operation Tigra Genesis is going well.
*[Tigra Genesis]:
Abbreviation definition can be anywhere in the document. They are stripped from the final document.
Autolinks
Markdown plugin will autolink standard URLs, so if you want to link to a URL (instead of setting link text), you can simply enter the URL and it will be turned into a link to that URL.
Hardwraps
You can hard wrap paragraphs of text and they will be combined into a single paragraph. The next paragraph contains two phrases separated by a single newline character:
Roses are red
Violets are blue
Quotes
Beautifys single quotes, double quotes and double angle quotes (« and »).
Smarts
Beautifys apostrophes, ellipsises ("..." and ". . .") and dashes ("--" and "---").
Smartypants
Convenience extension enabling both, smarts and quotes, at once.
| | Grouping ||
First Header | Second Header | Third Header |
------------ | :-----------: | -----------: |
Content | *Long Cell* ||
Content | **Cell** | Cell |
New section | More | Data |
And more | And more |
[Prototype table]
No blocks
Suppresses HTML blocks.
No inline HTML
Suppresses inline HTML tags.
No hypertext
Suppresses HTML blocks as well as inline HTML tags.