I'm converting a markdown document to html then to a pdf.
This markdown renderer wraps headings and it's following content in <section> tags.
I assumed i'd be able to use htmlRenderers to do something like :
<Html
renderers={{
View: ({ children }) => <View wrap={false}>{children}</View>,
}}
>
{html}
</Html>
so I can affect which elements become page breaking elements.
But renders is really just a mapping of html elements to other html elements.
thoughts?
I'm converting a markdown document to html then to a pdf.
This markdown renderer wraps headings and it's following content in
<section>tags.I assumed i'd be able to use
htmlRenderersto do something like :so I can affect which elements become page breaking elements.
But renders is really just a mapping of html elements to other html elements.
thoughts?