Skip to content

Page breaks?  #106

Description

@airtonix

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions