X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=sample.md;h=b8588db068d0cb8e48f8a42cffc1ca2fbb529d43;hb=bc3a373a2926e34352018677bfb5ed2eacede2a8;hp=fd3a8d8ff81426937befc2d65b797c958df10c88;hpb=2854a2e2ba7bd3c38bb4ebf4213b132a6e2fd882;p=smdp.git diff --git a/sample.md b/sample.md index fd3a8d8..b8588db 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,36 @@ becomes ------------------------------------------------- +# Supported markdown formatting's + +The leading stars or minuses make list. + +TODO list: +\* TODO major 1 +\ \- TODO minor 1.1 +\ \- Detail 1.1.1 +\ \- Detail 1.1.2 +\ \- TODO minor 1.2 +\* TODO major 2 +\* TODO major 3 +\ \* TODO minor 3.1 +\ \* TODO minor 3.2 + +becomes + +TODO list: +* TODO major 1 + - TODO minor 1.1 + - Detail 1.1.1 + - Detail 1.1.2 + - TODO minor 1.2 +* TODO major 2 +* TODO major 3 + * TODO minor 3.1 + * TODO minor 3.2 + +------------------------------------------------- + ## More information about markdown can be found on @@ -151,6 +193,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 +219,4 @@ open an issue on GitHub: _https://github.com/visit1985/mdp_ +