@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    The built-in GFM-capable MarkdownParser implementation.

    Delegates to markdownToHtml. No configuration required — construct and call toHtml().

    import { DefaultMarkdownParser } from '@theredhead/lucid-foundation';

    const parser = new DefaultMarkdownParser();
    console.log(parser.toHtml('**hello**')); // <b>hello</b>

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Converts a Markdown string to HTML using the built-in GFM converter.

      Parameters

      • markdown: string

        Raw Markdown source.

      Returns string

      HTML string.