X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=sample.md;h=47926de203187af9caa71955ccae8510464287aa;hb=e93d05ee25a937dc10d4958eedf09ed7856f6afe;hp=8cea5d6b3ae5a25c2daf2a19806f1b4215cef893;hpb=d2f91e2e0fafdac20b910ba76516dff72ac467b1;p=smdp.git diff --git a/sample.md b/sample.md index 8cea5d6..47926de 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,46 @@ becomes ------------------------------------------------- +# Supported markdown formatting's + +Leading *\** or *-* indicate lists. + +TODO list +\* major 1 +\ \- minor 1.1 +\ \- detail 1.1.1 \*IMPORTANT\* +\ \- detail 1.1.2 +\ \- minor 1.2 + +becomes + +TODO list +* major 1 + - minor 1.1 + - detail 1.1.1 *IMPORTANT* + - detail 1.1.2 + - minor 1.2 + +------------------------------------------------- + +# Supported markdown formatting's + +Leading *->* indicates centering. + +\-> # test <- +\-> ## test <- +\-> test +\-> \_\*test\*\_ <- + +becomes + +-> # test <- +-> ## test <- +-> test +-> _*test*_ <- + +------------------------------------------------- + ## More information about markdown can be found on @@ -163,6 +203,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