Markdown Concise Grammar Basic symbols
- *,-, + 3 symbols effect are the same, these 3 symbols are called markdown symbols
- A blank line represents a different paragraph
- ' is to represent the inline Code, tab is used to mark the code snippet, respectively, corresponding to the HTML code,pre tag
Line break
- Single paragraph (<p>) with a blank line
- Two consecutive spaces will become a <br>
- 3 consecutive symbols, then a blank line, representing the HR dash
Title
- Generate H1--h6, add 1--6 # in front of the text to achieve
- Text bold is through the text about each of the two symbols
Reference
- Add ">" and a space in the first line, which means the code reference, and can also be nested
List
This is the main expression of the markdown file, subject to be
- Using *,+,-plus an empty glyd representation
- can support nested
- Sequential tables with numbers + English dots + null Glyd representation
- The list content is very long, does not need to enter the newline character manually, the CSS controls the paragraph width, will automatically scale
Link
- Direct write [anchor text] (url "optional title")
- The reference is defined first [Ref_name]:url, and then in the place where the URL needs to be written, so the [anchor text][ref_name] is used, and the usual ref_name is usually represented by a number, which makes IT professional
- Shorthand URL: The URL anchor text generated with the angle brackets wrap URL
is the URL itself
Insert Picture
- One line means:! [Alt_text] (url "optional title")
- Citation notation:! [Alt_text] [ID], pre-defined [id]:url "optional title"
- Use the tag directly, so you can specify the size of the picture
Special symbols
- Escape with \ To represent the markdown symbol in the text
- You can use HTML tags directly in the text type, but be aware that when you use them, you'll be able to add overhead lines
- Add a symbol before and after the text, indicating italic
1 minutes Learn markdown Grammar