MDX Component Usage #124
nfmastroianni
started this conversation in
General
Replies: 1 comment
-
Hi @nfmastroianni , sorry for the delay. I used some MDX in it and you can see some results here |
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
-
Apologies if this is not the place to do this.
I am hoping to achieve the following using this wonderful source plugin:
I'd like to be able to use components inside Google Docs to build more complex elements. The simplest goal I have is to be able to span multiple paragraphs like this:
My simple Prose component looks as follows:
The layout file that includes the component is below:
The page template
The children are returned as markdown so links are
[link text](url)
formatted. And if the component contains more than one child element (i.e. more than 1 paragraph), it fails saying it expected a terminating tag.Any guidance on this would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions