Files
Markdown/Text_format.md
2026-05-25 14:50:49 +00:00

41 lines
2.0 KiB
Markdown

# Line breaks
**A single press of Enter will not start a new line.**
Add two spaces at the end of a line, then press Enter.
Put a backslash () `\` at the end of a line, then press Enter.\
Use the HTML tag `<br>`.<br>
# Font & Text Emphasis.
Text emphasis is an important writing skill. Markdown provides simple ways to apply bold and italic styles.
Markdown supports two common text styles: bold and italic.
Bold syntax: Wrap text with two asterisks ** or two underscores __.
Italic syntax: Wrap text with one asterisk * or one underscore _.
Bold and italic syntax: Wrap text wiht three * or _.
For example: *Italic*,**Bold**,***Bold and italic***.
# Horizontal Rule (HR)
In Markdown, the Horizontal Rule is used to add a dividing line, and its usage is very simple.
Simply enter three or more identical symbols (*,-,_) on a single line. Spaces between symbols are allowed and will not affect the display.
- - -
___
* * *
# Strikethrough
Strikethrough syntax: Wrap text with two tilde marks ~~
~~For example~~
# Underline
Markdown has no native syntax for underlines. You need to use HTML tags instead `<u>`.
Syntax: Use the tag `<u>` to wrap the content.
<u>Underline text</u>
# Footnote
Footnotes are used to add supplementary notes, explanations or citations to text.
`[^Footnote]: not only for technology,but also dream.`
Syntax:`[^name]: Text.`
# Inline Code
Inline code is used to mark code snippets, commands, variable names and other content in the main text.
Basic syntax:Wrap the content with a single backtick.
Code containing backticks: Use two backticks to wrap the content.
For example: `` `code` ``.
Important! Add spaces between the inner backtick and the outer pair.
# Text Highlight (Extended Syntax)
Text highlight is not part of standard Markdown, but it is supported by many extended versions.
This is a ==Highlight text== .
You can also use the HTML tag `<mark>highlight text</mark>`.
<mark>highlight text</mark>