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
- The text between two star is the bold
- The text between three star is the Italic and the bold
The text between two tilde is strikethrough- The text between font tags with color=#FF0000 attribute
- The text between font tags with color=#00FF00 attribute
- The text between font tags with color=#0000FF attribute
The title after a pound sign
The title after 2 pound signs
The title after 3 pound signs
The title after 4 pound signs
The title after 5 pound signs
The title after 6 pound signs
- Code among text (e.g.
print("Hello")
) are surrounded by single backwards apostrophe. - 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
- Import Somthing like this.
The text after the bigger sign
- Type the bracket [filled with the link name] followed by parentheses (filled with the address).
Link name - 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).
- 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 | 1. **The text between two star is the bold** |
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.