29 lines
686 B
Markdown
29 lines
686 B
Markdown
|
|
---
|
|||
|
|
title: Markdown-It Plugins
|
|||
|
|
nav_order: 4
|
|||
|
|
has_children: true
|
|||
|
|
created: 2025-09-09T19:23
|
|||
|
|
updated: 2025-09-22T13:27
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
# Markdown-It
|
|||
|
|
|
|||
|
|
Markdown-it is a powerful and flexible Markdown parser that allows you to convert Markdown syntax into HTML. It’s widely used for rendering Markdown content on websites, blogs, and documentation.
|
|||
|
|
|
|||
|
|
## Markdown-it Plugins
|
|||
|
|
|
|||
|
|
Markdown-it supports community-written plugins. The Plugins can be loaded like this:
|
|||
|
|
|
|||
|
|
```js
|
|||
|
|
const md = markdownit
|
|||
|
|
.use(plugin1)
|
|||
|
|
.use(plugin2, opts, ...)
|
|||
|
|
.use(plugin3);
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## Marp Slides Markdown-It Plugins
|
|||
|
|
|
|||
|
|
- [Mark](31.Markdown-it-Mark.md)
|
|||
|
|
- [Containers](32.Markdown-it-Conteiners.md)
|
|||
|
|
- [Kroki](33.Markdown-it-Kroki.md)
|