Comark Syntax โ
Slidev supports optional Comark Syntax (formerly known as MDC, Markdown Components) powered by @comark/markdown-it.
You can enable it by adding comark: true to the frontmatter of your markdown file.
mdc
---
comark: true
---
This is a [red text]{style="color:red"} :inline-component{prop="value"}
{width=500px lazy}
::block-component{prop="value"}
The **default** slot
::Learn more about Comark Syntax.