Monday, March 9, 2015

Markdown markup language

Markdown input:
----
## what is Markdown?
see [Wikipedia](http://en.wikipedia.org/wiki/Markdown)

> 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)".

----
## usage
1. Write markdown text.
2. Parse it to HTML.

----
## headers
...
### H3
#### H4
##### H5
###### h6

----
## quick reference
*emphasis*

**strong**

* list

`code`

> block quote

    code (4 spaces indent)

----
## thanks
* [markdown-js](https://github.com/evilstreak/markdown-js)
* [markdown-livepreview](http://markdownlivepreview.com/)

----
## see Also
* [bootstrap-markdown](http://www.codingdrama.com/bootstrap-markdown/)
* [my implementaion on code-pen](http://codepen.io/andrew_mur/pen/JoamOp)

Below is markdown converted to html:

No comments:

Post a Comment