2025-09-09 19:51:45 +08:00
|
|
|
---
|
|
|
|
|
title: Markdown-It Mark
|
|
|
|
|
parent: Markdown-It Plugins
|
2025-09-22 13:27:55 +08:00
|
|
|
created: 2025-09-09T19:23
|
|
|
|
|
updated: 2025-09-09T19:23
|
2025-09-09 19:51:45 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# Markdown-It Mark
|
|
|
|
|
|
|
|
|
|
Markup uses the same conditions as CommonMark [emphasis](http://spec.commonmark.org/0.15/#emphasis-and-strong-emphasis).
|
|
|
|
|
|
|
|
|
|
`==marked==` => `<mark>inserted</mark>`
|
|
|
|
|
|
|
|
|
|
## Sample
|
|
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
|
---
|
|
|
|
|
# Text Highlights
|
|
|
|
|
|
|
|
|
|
**[markdown-it-mark](https://github.com/markdown-it/markdown-it-mark)**
|
|
|
|
|
|
|
|
|
|
This is ==marked== text
|
|
|
|
|
---
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
## References
|
|
|
|
|
|
|
|
|
|
- [markdown-it-mark](https://github.com/markdown-it/markdown-it-mark)
|