MDX Layouts #2225
MDX Layouts
#2225
Replies: 1 comment
-
|
Seems that I can just do this: import Counter from '~/components/Counter'
import DocLayout from '~/components/DocLayout'
<DocLayout>
# Hello World!
<Counter />
Visit [https://solidjs.com](https://solidjs.com) to learn how to build Solid apps.
</DocLayout> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The MDX example doesn't show how to render the MDX in a layout (using the FileRouter). Do I achieve this with nesting?
I'm having a hard time picturing it, lets say under
/docsI want to render markdown, but I want to render this in a content area and have a header/nav/footer.Beta Was this translation helpful? Give feedback.
All reactions