Skip to content

Commit aa8c4ca

Browse files
committed
docs: update MDC support
1 parent 1d54c86 commit aa8c4ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

guide/animations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ Experimental: This is not supported by all browsers. Check the [Browser compatib
342342

343343
You can use the `view-transition-name` CSS property to name view transitions, which creates connections between different page elements and smooth transitions when switching slides.
344344

345-
You can enable [MDC (Markdown Component) Syntax](https://content.nuxtjs.org/guide/writing/mdc) support to conveniently name view-transitions:
345+
You can enable [MDC (Markdown Component) Syntax](/syntax#mdc-syntax) support to conveniently name view-transitions:
346346

347347
```md
348348
---

guide/syntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -646,11 +646,11 @@ src: ./content.md
646646

647647
> Available since v0.43.0
648648
649-
Slidev has an experimental support for [MDC (Markdown Components) Syntax](https://content.nuxtjs.org/guide/writing/mdc) powered by [`markdown-it-mdc`](https://github.com/antfu/markdown-it-mdc).
649+
Slidev supports optional [MDC (Markdown Components) Syntax](https://content.nuxtjs.org/guide/writing/mdc) powered by [`markdown-it-mdc`](https://github.com/antfu/markdown-it-mdc).
650650

651651
You can enable it by adding `mdc: true` to the frontmatter of your markdown file.
652652

653-
```md
653+
```mdc
654654
---
655655
mdc: true
656656
---
@@ -664,4 +664,4 @@ The **default** slot
664664
::
665665
```
666666

667-
Learn more about [the syntax](https://content.nuxtjs.org/guide/writing/mdc).
667+
Learn more about [the syntax](https://content.nuxt.com/guide/writing/mdc).

0 commit comments

Comments
 (0)