X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=sample.md;h=57abf3d4bfc754328a0860222b81ec7bbfc60bc4;hb=a1d883fc5b7acbf45fdc80a7806b4d4c21fdcd1f;hp=0c8f51cbb129babf50dc559f3386f2abc25179b7;hpb=331cae2a53c652eaf7c7a7113e15b735e9d9b17e;p=smdp.git diff --git a/sample.md b/sample.md index 0c8f51c..57abf3d 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 === @@ -58,11 +58,11 @@ second-level Inline codes are surrounded with backticks. -C program begins excuting at the beginning of \`main()\`. +C program starts with \`main()\`. becomes -C program begins excuting at the beginning of `main()`. +C program starts with `main()`. ------------------------------------------------- @@ -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,28 @@ becomes ------------------------------------------------- +# Supported markdown formatting's + +Leading *\** or *-* indicate lists. + +TODO list +\* major 1 +\ \- minor 1.1 +\ \- detail 1.1.1 +\ \- detail 1.1.2 +\ \- minor 1.2 + +becomes + +TODO list +* major 1 + - minor 1.1 + - detail 1.1.1 + - detail 1.1.2 + - minor 1.2 + +------------------------------------------------- + ## More information about markdown can be found on @@ -163,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