X-Git-Url: https://git.danieliu.xyz/?p=smdp.git;a=blobdiff_plain;f=sample.md;h=42b6930b2f82708ac657dabe4827c81b4efb0c9d;hp=8f6b053ac5db7e696f23f345ed7041439ed7a2c0;hb=5710ef6220df0b0cbfbef73bc1b8a0b12031d02b;hpb=3e6d7001c4058b93281645e72ad1e223280b8589 diff --git a/sample.md b/sample.md index 8f6b053..42b6930 100644 --- a/sample.md +++ b/sample.md @@ -106,21 +106,19 @@ You can also use [pandoc](http://pandoc.org/demo/example9/pandocs-markdown.html) Use at least three ~ chars to open and at least as many or more ~ for closing. -~~~~~ -~~~ -int main(int argc, char \*argv[]) { - printf("%s\\n", "Hello world!"); -} -~~~ -~~~~~~~ +\~~~ {.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