Part1- Markdown grammar
Markdown grammar
Title
Use # + space as the beginning of the title.
The number of # determines the rank of the title. The more #, the lower the rank of the title.
Font
Bold
Add ** to each side of the text and the text will automatically be bold.
Example: Bold → ** Bold **(Delete the space)
Italics
By adding a * to each side of the text, the text will automatically become italic.
Example: Italics → * Italics *(Delete the space)
Both bold and italic
Add ***
Example:Example → ** * Example * **(Delete the space)
Rule out style
Add ~~ to each side of the text,the text will automatically become rule out style.
Example: Rule out → ~~ Rule out ~~(Delete the space)
reference
Add >and space, The next input will become the referenced style.
Example:
Reference
Line
Add --- or *** and press the Enter key, --- will become a line.
Example:
Picture
!+ 【Image name】+ (Image links)
Example:
hyperlinks
[Hyperlink name] +(The target address)
Example:
List
ordered list
Number + . + space
Unordered list
-+ space
Form
- To translate words separated by |, delete empty lines in the source, and exit the source mode will get the corresponding form.
Name|gender
--|--|
John|male
↓
| Name | gender |
|---|---|
| John | male |
- With software like Typora, you can quickly create a table in a right-click list.
Code
Add ' 'before and after the code, it will be displayed in the form of code.
Example
<html>
<body>
<script type="text/javascript">
document.write("Hello World!")
</script>
</body>
</html>
浙公网安备 33010602011771号