X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=sample.md;h=42b6930b2f82708ac657dabe4827c81b4efb0c9d;hb=74f513ce239ec8958b399bde423fa9fa2ae5c3b4;hp=5a11d1a5e8d6c1c0b576fec57b41377e57ea1651;hpb=09d6bd1a8a33fac75a999f0822ec10cb77fbc072;p=smdp.git diff --git a/sample.md b/sample.md index 5a11d1a..42b6930 100644 --- a/sample.md +++ b/sample.md @@ -30,7 +30,7 @@ horizontal rules (hr). A hr consisting of at least 3 *\** or *-*. It can also contain spaces but no other characters. -Each of these represents the start of a new slide +Each of these represents the start of a new slide. \* \* \* \--- @@ -102,6 +102,30 @@ becomes -> # Supported markdown formatting <- +You can also use [pandoc](http://pandoc.org/demo/example9/pandocs-markdown.html)'s fenced code block extension. +Use at least three ~ chars to open and at least as many or +more ~ for closing. + +\~~~ {.numberLines} +\int main(int argc, char \*argv[]) { +\ printf("%s\\n", "Hello world!"); +\} +\~~~~~~~~~~~~~~~~~~ + +becomes + +~~~ {.numberLines} +int main(int argc, char \*argv[]) { + printf("%s\\n", "Hello world!"); +} +~~~~~~~~~~~~~~~~~~ + +Pandoc attributes (like ".numberlines" etc.) will be ignored + +------------------------------------------------- + +-> # Supported markdown formatting <- + Quotes are auto-detected by preceding *>*. Multiple *>* are interpreted as nested quotes. @@ -171,6 +195,31 @@ list -> # Supported markdown formatting <- +A single *\* or *^* in a line indicates mdp +to stop the output on that position. + +This can be used to show bullet points +line by line. + +*\* is also not displayed in HTML converted +output. + +Agenda +
+* major +
+ * minor +
+* major + ^ + * minor + ^ + * detail + +------------------------------------------------- + +-> # Supported markdown formatting <- + Leading *->* indicates centering. \-> # test <-