Function markdownToPdfmake

  • This method convert markdown string to pdfmake content blocks.

    Example

    async function main() {
    const markdown = "# Header\n Paragraph text";
    const result = await markdownToPdfmake(markdown);
    }

    main();

    Parameters

    • Optional markdown: string

    Returns Promise<Content[]>

Generated using TypeDoc