Getting headings from a markdoc file using the render() method returns an empty object. #6855
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
What version of
astro
are you using?2.3.0
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Windows
What browser are you using?
Edge
Describe the Bug
When I try to get the headings from a markdoc file using the
render()
method, it returns an empty object.post-1
atsrc/content/blog/post-1.mdoc
contains a few different level of headings and they rendered as expected byContent
.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-vwtxh9
Participation
The text was updated successfully, but these errors were encountered: