X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=sample.md;h=f7a4d5473bb4bb41cc4921c049a72810928564db;hb=3055b6d15234fe12f088e33747aae945dbb9896a;hp=0c8f51cbb129babf50dc559f3386f2abc25179b7;hpb=331cae2a53c652eaf7c7a7113e15b735e9d9b17e;p=smdp.git diff --git a/sample.md b/sample.md index 0c8f51c..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 === @@ -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()`. ------------------------------------------------- @@ -163,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