Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. # Code Styling
  2.  
  3.  
  4. <kbd>CTRL</kbd>+<kbd>Z</kbd>
  5. In `this` case, `we need` to create a block od code.
  6. Otherwise, the markdown will auto transfer the **text** *for* ''its'' ***format***.
  7.  
  8. ```
  9. Three main ways to style code
  10. 1. Identing, using 4 spaces(1 tab)
  11.  
  12. if (isAwesome){
  13. return true
  14. }
  15.  
  16. 2. Code Fencing, using 3 backquote ``` to enclose code ```
  17.  
  18. ```
  19. if (isAwesome){
  20. return true
  21. }
  22. ```
  23.  
  24. 3. Language Highling
  25.  
  26. ```javascript
  27. if (isAwesome){
  28. return true
  29. }
  30. ```
  31. ```
  32.  
  33.  
  34.  
  35.  
  36.  
  37. ## Blod and Italic
  38.  
  39. ```*one asterisk on each end makes text italic*```
  40. *one asterisk on each end makes the text italic*
  41.  
  42. ```two asterisks on each end makes text bold ```
  43. **two asterisks on each end makes text bold**
  44.  
  45. ```three asterisk on each end makes text bold and italic```
  46. ***three asterisk on each end makes text bold and italic***
  47.  
  48.  
  49.  
  50. With block of code:
  51. >```
  52. >Testing printing reserved characters
  53. > ```backward quote```
  54. > double **asterisk**
  55. >```
  56. Without block of code:
  57.  
  58. >Testing printing reserved characters
  59. >
  60. >```backward quote```
  61. >
  62. >double **asterisk**
  63.  
  64. 1. Inline code
  65. 1. use single bakquote `code`
  66. ## Two ways to create block of code
  67. ```
  68. 1. using 3 backard quotes ``` can create bloack of code
  69. 1.1 Personally, this one is easier.
  70. 2. using a tab(4 spaces) can also createe block of code
  71. 2.1 However, method 2 needs to do it line by line
  72. ```
  73.  
  74. ---
  75. **How to create a separate line**
  76.  
  77. ```
  78. There are several ways but just use the following two (keep things simple)
  79. Use the following to create a separate line.
  80. 1. ***
  81. 2. ---
  82. ```
  83. ***
  84. ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement