You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/docs/3.files/1.markdown.md
+16-14Lines changed: 16 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ to: https://marketplace.visualstudio.com/items?itemName=Nuxt.mdc
141
141
Install the **MDC VS Code extension** to get proper syntax highlighting for the MDC syntax.
142
142
::
143
143
144
-
## Vue Components
144
+
###Vue Components
145
145
146
146
You can use any Vue component in your Markdown files.
147
147
@@ -157,7 +157,7 @@ Default slot content
157
157
Components that are used in Markdown has to be marked as `global` in your Nuxt app if you don't use the `components/content/` directory, visit [Nuxt 3 docs](https://nuxt.com/docs/guide/directory-structure/components) to learn more about it.
158
158
::
159
159
160
-
### Block Components
160
+
####Block Components
161
161
162
162
Block components are components that accept Markdown content or another component as a slot.
163
163
@@ -188,7 +188,7 @@ The content of the card
188
188
:::
189
189
::
190
190
191
-
### Slots
191
+
####Slots
192
192
193
193
A component's slots can accept content or another components.
194
194
@@ -219,7 +219,7 @@ This will be rendered inside the `description` slot.
You can bind data within your Markdown document using the `{{ $doc.variable || 'defaultValue' }}` syntax. These values can be defined in the YAML frontmatter at the top of the document, within each MDC component, or injected using the `data` prop of the `<ContentRenderer>` component.
0 commit comments