中文
GitHub
Docs
Deployment
User Guide
Example
中文
GitHub
Docs
Example
Guest
Sign in
MrDoc Document Example
Markdown document example
Quote text
Audio and video
Attachment preview
Link effects
Images and attachments
Documentation table of contents
Code block effects
Table effects
List effects
Symbols and emoji
Scientific formulas
Flowchart
Sequence diagram
Strikethrough, bold, italic, superscript and subscript
Markdown text highlighting
Mind map, mind map, mindmap.
ECharts graphs and charts
Timeline
50,000-word ultra-long document
Mermaid diagrams
Markdown test document
Rich text document example
Documentation table of contents
Online spreadsheet document example
This is an online spreadsheet
Online spreadsheet with local Excel import
Mind map document
Hand-drawn diagram documentation
Office documents
OnlyOffice online documents
OnlyOffice online spreadsheet
OnlyOffice Slides
Powered by MrDoc Pro
-
+
home
Strikethrough, bold, italic, superscript and subscript
# Strikethrough, Bold, Italic, Superscript and Subscript ## Character Effects and Horizontal Lines ### Strikethrough If you need to insert a strikethrough in a document, the tag block used is `<s>`, for example: ``` 这是一个<s>删除线</s> ``` The above content will be rendered as follows: 这是一个<s>删除线</s> ### Italic If you need to format part of a document as italic, you need to use `*` or `_`, with 1 on each side wrapping the content, as shown below: ``` 这是一个*斜体* 这是一个_斜体_ ``` The above content will be rendered as follows: 这是一个*斜体* ### Bold If you need to format part of a document as bold, you need to use `*` or `_`, with 2 on each side wrapping the content, as shown below: ``` 这是一个**粗体** 这是一个__粗体__ ``` The above content will be rendered as follows: 这是一个**粗体** ### Bold Italic If you need to format part of a document as bold italic, you need to use `*` or `_`, with 3 on each side wrapping the content, as shown below: ``` 这是一个***粗斜体*** 这是一个___粗斜体___ ``` The above text will be rendered as follows: 这是一个***粗斜体*** ### Superscript and Subscript If you need to format part of a document as superscript or subscript, you need to use the `<sub>` or `<sup>` tags to wrap the content, as shown below: ``` 上标:X<sub>2</sub> 下标:O<sup>2</sup> ``` The above text will be rendered as follows: 上标:X<sub>2</sub> 下标:O<sup>2</sup> ### Abbreviation **Abbreviation (same as the HTML abbr tag)** > That is, the abbreviated form of a longer word or phrase, provided that HTML tag recognition is enabled, which is enabled by default The <abbr title="Hyper Text Markup Language">HTML</abbr> specification is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>.
mrdoc
Sept. 29, 2026, 6:36 p.m.
Forward
Favorites
Last
Next
Scan the QR Code
Copy link
Scan the QR code to share.
Copy link
share
link
type
password
Update password
Validity period
Markdown file
Word document
PDF document (print)