Replies: 2 comments
-
|
Hey! Reluctant to write documentation about the Those will not use the DocumentRenderer, but rather use default Markdoc and MDX rendering tools, respectively. The current
|
Beta Was this translation helpful? Give feedback.
-
|
Hey, could someone give me an example of how I'd use DocumentRender please? I think it's what I'm looking for (regardless of what's coming soon). I want to be able to add tailwind classes to elements like <p> and <em> etc within the document field. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
DocumentRendereroutlined https://docsmill.dev/npm/@keystatic/[email protected]#/renderer.DocumentRendererProps shows that there are three props:documentan array of Elementrenderers.inlineinlinerenderers.blockblock};
componentBlocksComponentBlocks (since this isn't linked, i imagine it's this https://docsmill.dev/npm/@keystatic/[email protected]#/.ComponentBlock ?)documenti know, but what are these extra props for, how i can use them, are there any existing examples?fyi, this docmill site regularly crashes firefox on linux saying something on the page is taking too long.
Beta Was this translation helpful? Give feedback.
All reactions