🐶 Heading
markdown
## Heading
🐱 Bold
I have a dream that one day this nation will rise up.
markdown
**I have a dream that one day this nation will rise up.**
🐭 Italic
It is a dream deeply rooted in the American dream.
markdown
_It is a dream deeply rooted in the American dream._
🐹 Strikethrough
It is a dream deeply rooted in the American dream.
markdown
~~It is a dream deeply rooted in the American dream.~~
🐻 Link
markdown
[md-editor-v3](https://imzbf.github.io/md-editor-v3/)
🐼 Picture
markdown
![Description](https://imzbf.github.io/md-editor-v3/imgs/mark_emoji.gif 'title')
🙉 Underline
So even though we face the difficulties of today and tomorrow, I still have a dream.
markdown
<u>So even though we face the difficulties of today and tomorrow, I still have a dream.</u>
🙊 Superscript
I have a dream that one day this nation will rise up.[1]
markdown
I have a dream that one day this nation will rise up.^[1]^
🐒 Subscript
I have a dream that one day this nation will rise up.[2]
markdown
I have a dream that one day this nation will rise up.~[2]~
🐰 Inline Code
md-editor-v3
markdown
`md-editor-v3`
🦊 Block Code
markdown
```js
import MdEditor from 'md-editor-v3';
import 'md-editor-v3/lib/style.css';
```
🗄 Combination
-
-
-
shell
shell
shell
yarn add md-editor-v3
npm install md-editor-v3
pnpm install md-editor-v3
markdown
```shell [id:yarn]
yarn add md-editor-v3
```
```shell [id:npm]
npm install md-editor-v3
```
```shell [id:pnpm]
pnpm install md-editor-v3
```
🤌🏻 Forcefully fold
js
import MdEditor from 'md-editor-v3';
import 'md-editor-v3/lib/style.css';
markdown
```js ::close
import MdEditor from 'md-editor-v3';
import 'md-editor-v3/lib/style.css';
```
👐 Forcefully open
js
import MdEditor from 'md-editor-v3';
import 'md-editor-v3/lib/style.css';
markdown
```js ::open
import MdEditor from 'md-editor-v3';
import 'md-editor-v3/lib/style.css';
```
According to the understanding of other editors, no other editors currently employ a similar syntax. Exercise caution when using this syntax if you intend to copy your content for display in other editors.
🐻❄️ Quote
Quote: I Have a Dream
markdown
> Quote: I Have a Dream
🐨 Ordered List
- So even though we face the difficulties of today and tomorrow, I still have a dream.
- It is a dream deeply rooted in the American dream.
- I have a dream that one day this nation will rise up.
markdown
1. So even though we face the difficulties of today and tomorrow, I still have a dream.
2. It is a dream deeply rooted in the American dream.
3. I have a dream that one day this nation will rise up.
🐯 Unordered List
- So even though we face the difficulties of today and tomorrow, I still have a dream.
- It is a dream deeply rooted in the American dream.
- I have a dream that one day this nation will rise up.
markdown
- So even though we face the difficulties of today and tomorrow, I still have a dream.
- It is a dream deeply rooted in the American dream.
- I have a dream that one day this nation will rise up.
🦁 Task List
- Friday
- Saturday
- Sunday
markdown
- [ ] Friday
- [ ] Saturday
- [x] Sunday
Example that supports toggling task status in the preview module.
🐮 Table
THead1 | THead2 | THead3 | THead4 |
---|---|---|---|
text-align:left | text-align:center | text-align:right | default |
markdown
| THead1 | THead2 | THead3 | THead4 |
| :-------------- | :---------------: | ---------------: | ------- |
| text-align:left | text-align:center | text-align:right | default |
🐷 Mathematical Formula
Two modes.
🐽 Inline
x+y^{2x} \xrightarrow[under]{over}
markdown
$x+y^{2x}$
<!-- or -->
\(\xrightarrow[under]{over}\)
🐸 Block
\sqrt[3]{x}
\xrightarrow[under]{over}
markdown
$$
\sqrt[3]{x}
$$
<!-- or -->
\[\xrightarrow[under]{over}\]
For more usage: https://katex.org/docs/supported.html
🐵 Diagram
markdown
```mermaid
---
title: Example Git diagram
---
gitGraph
commit
commit
branch develop
checkout develop
commit
commit
checkout main
merge develop
commit
commit
```
For more usage: https://mermaid.js.org/syntax/flowchart.html
🙈 Alert
Supported Types
note、abstract、info、tip、success、question、warning、failure、danger、bug、example、quote、hint、caution、error、attention
markdown
!!! note Supported Types
note、abstract、info、tip、success、question、warning
failure、danger、bug、example、quote、hint、caution、error、attention
!!!