Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lephe@chaos $ cat sample.md
- This is a document, with *italic*, **bold**, and _underlined_, for later.
- ## This is an h2 heading !####
- This shall be an h1 heading.
- ============================
- <<< author
- This is a blockquote.
- It spans multiple lines.
- It even spans several paragraphs.
- <<< author_2
- Not to mention it contains a blockquote !
- >>>
- And another paragraph !
- >>>
- ~~~ c
- /* Hello World program */
- #include <stdio.h>
- int main(void)
- {
- fprintf(stdout, "Hello, world !\n");
- return 0;
- }
- ~~~
- lephe@chaos $ ./markdown sample.ls
- <p>
- This is a document, with *italic*, **bold**, and _underlined_, for later.
- </p>
- <h>
- ## This is an h2 heading !####
- </h>
- <p>
- This shall be an h1 heading.
- ============================
- </p>
- <quote author="author">
- <p>
- This is a blockquote.
- It spans multiple lines.
- </p>
- <p>
- It even spans several paragraphs.
- </p>
- <quote author="author_2">
- <p>
- Not to mention it contains a blockquote !
- </p>
- </quote>
- <p>
- And another paragraph !
- </p>
- </quote>
- <pre class="language-c">
- /* Hello World program */
- #include <stdio.h>
- int main(void)
- {
- fprintf(stdout, "Hello, world !\n");
- return 0;
- }
- </pre>
- Final execution time is 0.000038 s (0.000419 s)
- lephe@chaos $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement