We recommend a lite version of markdown software, Smark
Basic symbols
- *,-, And + all have the same effect. These three symbols are calledMarkdown symbol
- A blank line indicates a separate paragraph.
- 'Indicates the Inline code. tab is used to mark the code segment, which corresponds to the HTML code and PRE Tag respectively.
Line feed
- A single paragraph (<p>) uses a blank line
- Two consecutive spaces are converted into one <br>
- Three symbols in a row, and then empty lines, indicating the hr horizontal line
Title
- Generate H1 -- H6, and Add 1-6 characters before the text #.
- The bold text is written by two symbols at the left and right of the text.
Reference
- Add ">" and a space in the first line to indicate code reference and nesting.
List
This is the main expression of the markdown file, theme-based
- Use *, +,-and a space.
- Nesting is supported.
- The ordered list is represented by numbers, English vertices, and spaces.
- The list content is very long and you do not need to manually enter a line break. CSS controls the width of a paragraph, which is automatically scaled.
Link
- Directly write [anchor text] (URL "optional title ")
- The reference first defines [ref_name]: URL, and then uses [anchor text] [ref_name] Where the URL needs to be written. Generally, ref_name is represented by numbers, which is professional.
- Abbreviated URL: Wrap the URL with Angle brackets
The generated URL anchor text is the URL itself.
Insert Image
- One line :! [Alt_text] (URL "optional title ")
- Reference Notation :! [Alt_text] [ID], pre-defined [ID]: URL "optional title"
- Use the label to specify the image size.
Special symbols
- Escape with \ to indicate the markdown symbol in the text
- HTML tags can be directly used in text, but note that blank lines are added before and after
- A symbol is added before and after the text to indicate italic text.
Markdown's most concise syntax