Binding Data
Binding Data in Markdown
Using the data binding feature from Nuxt Content, you can bind data within your Markdown document using the {{ $doc.variable || 'defaultValue' }} syntax. This allows you to define these values in the YAML frontmatter at the top of the document, or through the global variable in app.config.ts.
Document variable in YAML frontmatter
example.md
Global Variable in app.config.ts
app.config.ts
example.md