X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=sample.md;h=11d36e0b57e54682435bc52cb25e876fc510bf21;hb=bdd26d4dde3b3d3180619cc81622081025ca6cb5;hp=fd3a8d8ff81426937befc2d65b797c958df10c88;hpb=2854a2e2ba7bd3c38bb4ebf4213b132a6e2fd882;p=smdp.git diff --git a/sample.md b/sample.md index fd3a8d8..11d36e0 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 === @@ -52,6 +52,18 @@ second-level ------------ +------------------------------------------------- + +# Supported markdown formatting's + +Inline codes are surrounded with backticks. + +C program starts with \`main()\`. + +becomes + +C program starts with `main()`. + ------------------------------------------------- # Supported markdown formatting's @@ -96,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\*\_ @@ -121,6 +133,28 @@ 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 + +------------------------------------------------- + ## More information about markdown can be found on @@ -151,6 +185,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 @@ -161,3 +211,4 @@ open an issue on GitHub: _https://github.com/visit1985/mdp_ +