#How do I render the Markdown on the entry returned from `getEntry()`?
3 messages · Page 1 of 1 (latest)
How do I render the Markdown on the entry returned from getEntry()?
article.render returns an object containing the Content component and some other items. You can destruct this like so
---
const article = ...
const { Content } = article.render()
---
<Content/>