hjaltiatlason

Markdown-cheatsheet

Jun 14th, 2020
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. <!-- Markdown Cheat sheet Source: https://www.youtube.com/watch?v=HUBNt18RFbo -->
  2.  
  3.  
  4. <!-- headings -->
  5. # Heading 1
  6. ## Heading 2
  7. ### Heading 3
  8. #### Heading 4
  9. ##### Heading 5
  10. ###### Heading 6
  11.  
  12. <!-- Italics -->
  13. *This text* is Italic
  14.  
  15. _This text_ is Italic
  16.  
  17. <!-- Strong -->
  18. **This text** is Strong
  19.  
  20. __This text__ is Strong
  21.  
  22. <!-- Strikethrough -->
  23. ~~This Text~~ is strikethrough
  24.  
  25. <!-- Horizontal Rule -->
  26.  
  27. ---
  28. ___
  29.  
  30. <!-- Blockquote -->
  31. > This is a quote
  32.  
  33. <!-- Links -->
  34. [Hjalti Atlason](https://hjalti.me)
  35.  
  36. [Hjalti Atlason](https://hjalti.me
  37. "Site title when hovered over text")
  38.  
  39. <!-- UL -->
  40. * Item 1
  41. * Item 2
  42. * Item 3
  43. * Nested Item 1
  44. * Nested Item 2
  45.  
  46. <!-- OL -->
  47. 1. Item 1
  48. 1. Item 2
  49. 1. Item 3
  50.  
  51. <!-- Inline code block -->
  52. `<p>This is a paragraph</p>`
  53.  
  54. <!-- Images -->
  55. ![Markdown Logo](https://markdown-here.com/img/icon256.png)
  56.  
  57. <!-- Github Markdown -->
  58.  
  59. <!-- Code Blocks -->
  60. ```bash
  61. npm install
  62.  
  63. npm start
  64. ```
  65.  
  66. ```javascript
  67. function add(num1, num2) {
  68. return num1 + num2;
  69. }
  70. ```
  71.  
  72. ```python
  73. def add(num1, num2):
  74. return num1 + num2
  75. ```
  76.  
  77. <!-- Tables -->
  78. | Name | Email |
  79. | -------- | -------------- |
  80. | John Doe | [email protected] |
  81. | Jane Doe | [email protected] |
  82.  
  83. <!-- Task List -->
  84. * [x] Task 1
  85. * [x] Task 2
  86. * [ ] Task 3
Advertisement
Add Comment
Please, Sign In to add comment