Learning Markdown in 10 min

Introduction

Markdown is a language that widely used in many areas such as writing articles on websites, “README.md” in github, handouts produced by Jupiter notebook, and so on. You can easily write your first article by Markdown after learning it in 10 minutes. Please try to type the text with following styles by the hints.

e.g.1. The text between one star is the Italic

The answer of this example is

1
*The text between one star is Italic*

e.g.2. The text between u tags is the underline

The answer of this example is

1
<u>The text between u tags is the underline</u>

You can try it on the free online Markdown editor (e.g. https://markdown-editor.github.io/), that’s start it now.

Questions

  1. The text between two star is the bold
  2. The text between three star is the Italic and the bold
  3. The text between two tilde is strikethrough
  4. The text between font tags with color=#FF0000 attribute
  5. The text between font tags with color=#00FF00 attribute
  6. The text between font tags with color=#0000FF attribute
  7. The title after a pound sign

  8. The title after 2 pound signs

  9. The title after 3 pound signs

  10. The title after 4 pound signs

  11. The title after 5 pound signs
  12. The title after 6 pound signs
  13. Code among text (e.g. print("Hello")) are surrounded by single backwards apostrophe.
  14. The following block is surrounded by three backward apostrophe, i.e. the first line and the last line.
    1
    2
    3
    4
    5
    6
    7
    # The text in this block is so-called plain text, the place that 
    # disable all the markdown grammar (e.g.<br> is pure text rather than newline here),
    # and you can write your code here as following example.
    def sums(x,y):
    return x+y
    # You can add "python" (without quotations) or other supported lanuage
    # after the three apostrophes at first line, and your code will be in the python style
    • The text after a plus
    • The text after a plus
      • The text after a tab space and a plus
      • The text after a tab space and a plus
  15. Import Somthing like this.

    The text after the bigger sign

  16. Type the bracket [filled with the link name] followed by parentheses (filled with the address).
    Link name
  17. To include a picture, type the exclamation mark, bracket [filled with the alternative text if link is failed] and followed by parentheses (filled with the address).
    Alternative text here
  18. The table is created by the pipeline signs | for every vertical line and the dashes - for every horizontal line.
Column 1 Column 2 Column 3
Text1 Text2 Text3
Text4 Text5 Text6

Answer

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1. **The text between two star is the bold**
2. ***The text between three star is the Italic and the bold***
3. ~~The text between two tilde is strikethrough~~
4. <font color=#FF0000> The text between font tags with color=#FF0000 attribute </font>
5. <font color=#00FF00> The text between font tags with color=#00FF00 attribute </font>
6. <font color=#0000FF> The text between font tags with color=#0000FF attribute </font>
7. # The title after a pound sign
8. ## The title after 2 pound signs
9. ### The title after 3 pound signs
10. #### The title after 4 pound signs
11. ##### The title after 5 pound signs
12. ###### The title after 6 pound signs
13. `print("Hello")`
14.
`*3 python
some code here
`*3
15. + The text after a plus
+ The text after a plus
+ The text after a tab space and a plus
+ The text after a tab space and a plus
16. > The text after the bigger sign
17. [Link name](https://bnbsking/github.io)
18. ![Alternative](https://www.google.com/images/branding/
googlelogo/1x/googlelogo_color_272x92dp.png)
19.
| Column 1 | Column 2 | Column 3 |
| - | - | - |
| Text1 | Text2 | Text3 |
| Text4 | Text5 | Text6 |

The extra things are

  • The divider line made by four dashes or stars in a line without any other word.
  • To import local image on hexo, set the address to /source/your_image.png

Congratulations! You have finish learning the Markdown, So you can write your first article by it now.