Advertisement
Guest User

Untitled

a guest
Jun 30th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. lephe@chaos $ cat sample.md
  2. This is a document, with *italic*, **bold**, and _underlined_, for later.
  3.  
  4. ## This is an h2 heading !####
  5.  
  6. This shall be an h1 heading.
  7. ============================
  8.  
  9. <<< author
  10. This is a blockquote.
  11. It spans multiple lines.
  12.  
  13. It even spans several paragraphs.
  14.  
  15. <<< author_2
  16. Not to mention it contains a blockquote !
  17. >>>
  18.  
  19. And another paragraph !
  20. >>>
  21.  
  22. ~~~ c
  23. /* Hello World program */
  24.  
  25. #include <stdio.h>
  26.  
  27. int main(void)
  28. {
  29. fprintf(stdout, "Hello, world !\n");
  30. return 0;
  31. }
  32. ~~~
  33. lephe@chaos $ ./markdown sample.ls
  34. <p>
  35. This is a document, with *italic*, **bold**, and _underlined_, for later.
  36. </p>
  37.  
  38. <h>
  39. ## This is an h2 heading !####
  40. </h>
  41.  
  42. <p>
  43. This shall be an h1 heading.
  44. ============================
  45. </p>
  46.  
  47. <quote author="author">
  48. <p>
  49. This is a blockquote.
  50. It spans multiple lines.
  51. </p>
  52.  
  53. <p>
  54. It even spans several paragraphs.
  55. </p>
  56.  
  57. <quote author="author_2">
  58. <p>
  59. Not to mention it contains a blockquote !
  60. </p>
  61.  
  62. </quote>
  63.  
  64. <p>
  65. And another paragraph !
  66. </p>
  67.  
  68. </quote>
  69.  
  70. <pre class="language-c">
  71. /* Hello World program */
  72.  
  73. #include <stdio.h>
  74.  
  75. int main(void)
  76. {
  77. fprintf(stdout, "Hello, world !\n");
  78. return 0;
  79. }
  80. </pre>
  81.  
  82. Final execution time is 0.000038 s (0.000419 s)
  83. lephe@chaos $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement