From: FreeBirdLjj Date: Wed, 24 Sep 2014 16:57:13 +0000 (+0800) Subject: Add list sample. X-Git-Url: https://git.danieliu.xyz/?p=smdp.git;a=commitdiff_plain;h=0817686ae6f023ae8f978fd198b7b9b6272eb16d Add list sample. --- diff --git a/sample.md b/sample.md index f7a4d54..56d4ea2 100644 --- a/sample.md +++ b/sample.md @@ -108,8 +108,8 @@ becomes Inline highlighting is supported as followed: -- *\** colors text as red -- *\_* underlines text +\- *\** colors text as red +\- *\_* underlines text \_some\_ \*highlighted\* \_\*text\*\_ @@ -133,6 +133,32 @@ becomes ------------------------------------------------- +# Supported markdown formatting's + +The leading stars or minuses make list. + +TODO list: +\* TODO major 1 +\ \- TODO minor 1.1 +\ \- TODO minor 1.2 +\* TODO major 2 +\* TODO major 3 +\ \* TODO minor 3.1 +\ \* TODO minor 3.2 + +becomes + +TODO list: +* TODO major 1 + - TODO minor 1.1 + - TODO minor 1.2 +* TODO major 2 +* TODO major 3 + * TODO minor 3.1 + * TODO minor 3.2 + +------------------------------------------------- + ## More information about markdown can be found on @@ -170,8 +196,8 @@ want to convert it to PDF. This can be achieved by two additional tools: -- *markdown* to convert to HTML -- *wkhtmltopdf* to convert from HTML to PDF +\- *markdown* to convert to HTML +\- *wkhtmltopdf* to convert from HTML to PDF After installing them, you can simply type: