Markdown is a lightweight markup language, originally created by John Gruber and Aaron Swartz allowing people "to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML)

A typical use of markdown in your Dancer application would be to store markdown-flavored text in a database, and render it to HTML on the fly. This is example what this demo does.


Code Highlights



Markdown Text Rendering


Hello From Markdown Text

Features

  • All standard Markdown features, such as
    • lists
    • headings
    • bold, italics, strong bold
    • code
    • Links

Syntax


The raw (un-rendered) markdown text looks like this:

Hello From Markdown Text
========================

Features
--------

* All standard Markdown features, such as
     * lists
     * headings
     * *bold*, _italics_, **strong bold**
     * code
     * Links

Syntax
------

* [Basic Usage](http://daringfireball.net/projects/markdown/basics)
* [Full Syntax](http://daringfireball.net/projects/markdown/syntax)
* [Wikipedia Page](http://en.wikipedia.org/wiki/Markdown)