chore: consolidate new foundation and archive v1 (#1495)
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
---
|
||||
name: mdc
|
||||
description: MDC (Markdown Components) syntax support
|
||||
---
|
||||
|
||||
# MDC Syntax
|
||||
|
||||
Enhanced Markdown with component and style syntax.
|
||||
|
||||
## Enable
|
||||
|
||||
```md
|
||||
---
|
||||
mdc: true
|
||||
---
|
||||
```
|
||||
|
||||
## Inline Styles
|
||||
|
||||
```md
|
||||
This is a [red text]{style="color:red"}
|
||||
```
|
||||
|
||||
## Inline Components
|
||||
|
||||
```md
|
||||
:inline-component{prop="value"}
|
||||
```
|
||||
|
||||
## Image Attributes
|
||||
|
||||
```md
|
||||
{width=500px lazy}
|
||||
```
|
||||
|
||||
## Block Components
|
||||
|
||||
```md
|
||||
::block-component{prop="value"}
|
||||
The **default** slot content
|
||||
::
|
||||
```
|
||||
|
||||
## Use Cases
|
||||
|
||||
- Add inline styles without HTML
|
||||
- Use Vue components inline
|
||||
- Add attributes to images
|
||||
- Create complex component layouts
|
||||
|
||||
Based on Nuxt's MDC (Markdown Components) syntax.
|
||||
Reference in New Issue
Block a user