1.I think markdown is a simpify and beautify method to wirte document.All of the content in Classes is written by markdown.
2.I use sublime and mweb to write document
3.I attach the main code for reference
The most common formatting options have keyboard shortcuts to make them easier to add:
Result | Markdown | Shortcut |
---|---|---|
Bold | text | Ctrl/⌘ + B |
Emphasize | text | Ctrl/⌘ + I |
Strike-through | Ctrl + Alt + U | |
[Link][3] | title | Ctrl/⌘ + K |
Inline Code |
code |
Ctrl/⌘ + Shift + K |
Image | Ctrl/⌘ + Shift + I | |
List | * item | Ctrl + L |
Blockquote | > quote | Ctrl + Q |
H1 | # Heading | |
H2 | ## Heading | Ctrl/⌘ + H |
H3 | ### Heading | Ctrl/⌘ + H (x2) |
Headers
Headers are set using a hash before the title. The number of hashes before the title text will determine the depth of the header. Header depths are from 1-6
- H1 :
# Header 1
- H2 :
## Header 2
- H3 :
### Header 3
- H4 :
#### Header 4
- H5 :
##### Header 5
- H6 :
###### Header 6
Text Styling
- Links :
[Title](URL)
- Bold :
**Bold**
- Italicize :
*Italics*
- Strike-through :
~~text~~
- Highlight :
==text==
- Paragraphs : Line space between paragraphs
- Line break : Add two spaces to the end of the line
- Lists :
* an asterisk for every new list item.
- Quotes :
> Quote
- Inline Code :
alert('Hello World');
- Horizontal Rule (HR) :
\--------
4.We also can use a tool to translate html to markdown :Tool Link