X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=sample.md;h=f7a4d5473bb4bb41cc4921c049a72810928564db;hb=67524663784b4a47e4b18fe67583f43351edbfde;hp=fd3a8d8ff81426937befc2d65b797c958df10c88;hpb=2854a2e2ba7bd3c38bb4ebf4213b132a6e2fd882;p=smdp.git diff --git a/sample.md b/sample.md index fd3a8d8..f7a4d54 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 @@ -151,6 +163,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 +189,4 @@ open an issue on GitHub: _https://github.com/visit1985/mdp_ +