X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=sample.md;h=6009d47f7e4769c6f60a67691de47e21a9924f8c;hb=af25ae81e6a51967017ddaac096d4e199f82b46a;hp=56d4ea29aff473d52a13895884c1d622f70d6a1b;hpb=0817686ae6f023ae8f978fd198b7b9b6272eb16d;p=smdp.git diff --git a/sample.md b/sample.md index 56d4ea2..6009d47 100644 --- a/sample.md +++ b/sample.md @@ -2,14 +2,14 @@ %author: visit1985 %date: 2014-09-22 -mdp -=== +-> mdp <- +========= -A command-line based markdown presentation tool. +-> A command-line based markdown presentation tool. <- ------------------------------------------------- -# Supported markdown formatting's +-> # Supported markdown formatting's <- The input file is split into multiple slides by horizontal rules (hr). A hr consisting of at @@ -25,7 +25,7 @@ Each of these represents the start of a new slide ------------------------------------------------- -# Supported markdown formatting's +-> # Supported markdown formatting's <- First-level headers can be prefixed by single *#* or underlined by *===*. @@ -38,7 +38,7 @@ becomes ------------------------------------------------- -# Supported markdown formatting's +-> # Supported markdown formatting's <- Second-level headers can be prefixed by *##* or underlined by *---*. @@ -54,7 +54,7 @@ second-level ------------------------------------------------- -# Supported markdown formatting's +-> # Supported markdown formatting's <- Inline codes are surrounded with backticks. @@ -66,7 +66,7 @@ C program starts with `main()`. ------------------------------------------------- -# Supported markdown formatting's +-> # Supported markdown formatting's <- Code blocks are automatically detected by 4 spaces at the beginning of a line. @@ -86,7 +86,7 @@ becomes ------------------------------------------------- -# Supported markdown formatting's +-> # Supported markdown formatting's <- Quotes are auto-detected by preceding *>*. @@ -104,7 +104,7 @@ becomes ------------------------------------------------- -# Supported markdown formatting's +-> # Supported markdown formatting's <- Inline highlighting is supported as followed: @@ -119,7 +119,7 @@ _some_ *highlighted* _*text*_ ------------------------------------------------- -# Supported markdown formatting's +-> # Supported markdown formatting's <- Backslashes force special markdown characters like *\**, *\_*, *#* and *>* to be printed as normal @@ -133,33 +133,59 @@ becomes ------------------------------------------------- -# Supported markdown formatting's +-> # Supported markdown formatting's <- -The leading stars or minuses make list. +Leading *\** or *-* indicate lists. -TODO list: -\* TODO major 1 -\ \- TODO minor 1.1 -\ \- TODO minor 1.2 -\* TODO major 2 -\* TODO major 3 -\ \* TODO minor 3.1 -\ \* TODO minor 3.2 +list +\* major +\ - minor +\ - \*important\* +\ detail +\ - minor becomes -TODO list: -* TODO major 1 - - TODO minor 1.1 - - TODO minor 1.2 -* TODO major 2 -* TODO major 3 - * TODO minor 3.1 - * TODO minor 3.2 +list +* major + - minor + - *important* + detail + - minor ------------------------------------------------- -## More information about markdown +-> # Supported markdown formatting's <- + +Leading *->* indicates centering. + +\-> # test <- +\-> ## test <- +\-> test +\-> \_\*test\*\_ <- + +becomes + +-> # test <- +-> ## test <- +-> test +-> _*test*_ <- + +------------------------------------------------- + +-> # Supported markdown formatting's <- + +URL in John MacFarlane's Pandoc style are supported : + +\[GitHub repository for mdp](https://github.com/visit1985/mdp) +\[Google](google.com) + +[GitHub repository for mdp](https://github.com/visit1985/mdp) +[Google](google.com) + +------------------------------------------------- + +-> ## More information about markdown <- can be found on @@ -167,7 +193,7 @@ _http://daringfireball.net/projects/markdown/_ ------------------------------------------------- -# Support for UTF-8 special characters +-> # Support for UTF-8 special characters <- Here are some examples. @@ -181,7 +207,7 @@ upsilon = Ʊ, phi = ɸ ------------------------------------------------- -# Suspend your presentation for hands-on examples +-> # Suspend your presentation for hands-on examples <- Use *Ctrl + z* to suspend the presentation. @@ -189,7 +215,7 @@ Use *fg* to resume it. ------------------------------------------------- -# Convert your presentation to PDF +-> # Convert your presentation to PDF <- To publish your presentation later on, you may want to convert it to PDF. @@ -205,7 +231,7 @@ After installing them, you can simply type: ------------------------------------------------- -## Last words +-> ## Last words <- I hope you like *mdp*. But be aware, that it is still in alpha status.