content
content copied to clipboard
[Request] <ContentRenderer> to Support Rendering Pure Markdown Content
I'm currently developing a Nuxt 3 application and I want to incorporate Nuxt Content as a module. Specifically, I'm interested in utilizing the <ContentRenderer>
component, but it currently necessitates fetching .md files by querying the content
directory. However, I would prefer to have the flexibility of providing the component with pure Markdown content that can be rendered on the page.
Here's an example of what I'm looking for:
<script setup lang="ts">
const markdownContent = `# Heading
## Heading 2
### Heading 3`
</script>
<template>
<main>
<ContentRenderer :content="markdownContent" />
</main>
</template>