Skip to content

Markdown parser option #2

Description

@Andste82

marked will add id html attributes to each header element with its title as value.
but pdfmake has some problems with multiple identical id's.

=> can you provide a config object that will be passed to marked?

or just simple add the following option in your code:
const html = marked(markdown, {headerIds: false});

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