Is it possible to use the variables that comes from the YAML def or the JSON files or CSV files inside your markdown on a specific page.
In an index page I can go and fetch all the content of a specific folder inside the contents directory. I can list the content and then route to a specific page for e.g. markdown. But I want to use the same variables that was available when I received the content through this.$content inside the actual markdown page instead of manually typing it.
Hey @andyfensham,
When using nuxt-content component, all the document variables are injected inside the markdown, so you can do for example:
---
title: Introduction
src: https://content.nuxtjs.org/icon.png
---
<img :src="src"></img>
Most helpful comment
Hey @andyfensham,
When using
nuxt-contentcomponent, all the document variables are injected inside the markdown, so you can do for example: