X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=sample.md;h=56d4ea29aff473d52a13895884c1d622f70d6a1b;hb=0817686ae6f023ae8f978fd198b7b9b6272eb16d;hp=8cea5d6b3ae5a25c2daf2a19806f1b4215cef893;hpb=6edf0543111ac7f119c0255ae254159d9508f770;p=smdp.git diff --git a/sample.md b/sample.md index 8cea5d6..56d4ea2 100644 --- a/sample.md +++ b/sample.md @@ -1,6 +1,6 @@ %title: mdp - Sample Presentation -%author: Michael Göhler -%date: 2014-09-18 +%author: visit1985 +%date: 2014-09-22 mdp === @@ -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 @@ -163,6 +189,22 @@ Use *fg* to resume it. ------------------------------------------------- +# Convert your presentation to PDF + +To publish your presentation later on, you may +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 + +After installing them, you can simply type: + + $ markdown sample.md | wkhtmltopdf - sample.pdf + +------------------------------------------------- + ## Last words I hope you like *mdp*. But be aware, that it is