Skip to content

Commit

Permalink
docs: fix ContentRenderer source link
Browse files Browse the repository at this point in the history
  • Loading branch information
PickleNik committed Dec 31, 2022
1 parent 30c26e3 commit ef0118f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/3.guide/2.displaying/1.rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Head over to the [API section](/api/components/content-doc) to see the complete

## `<ContentRenderer />`

The `<ContentRenderer>` component renders the body of a Markdown document returned by [`queryContent()`](/guide/displaying/querying) in a rich-text format. It fallbacks to rendering the content in a `<pre>`{lang="html"} tag if the content is not Markdown ([:icon{name="fa-brands:github" class="inline-block w-4"} source code](https://github.com/nuxt/content/blob/main/src/runtime/components/ContentRenderer.ts)).
The `<ContentRenderer>` component renders the body of a Markdown document returned by [`queryContent()`](/guide/displaying/querying) in a rich-text format. It fallbacks to rendering the content in a `<pre>`{lang="html"} tag if the content is not Markdown ([:icon{name="fa-brands:github" class="inline-block w-4"} source code](https://github.com/nuxt/content/blob/main/src/runtime/components/ContentRenderer.vue)).

`<ContentRenderer>` accepts a `value` prop containing the data.

Expand Down

0 comments on commit ef0118f

Please sign in to comment.