@gmb/bitmark-parser - v7.2.0
    Preparing search index...

    Class BitmarkParserGenerator

    Index
    • Convert between HTML tables and bitmark tables (bpg-compatible convertHtmlTable).

      Backed by the core's schema-driven html mapping: HTML input has each <table> wrapped in the core's <bitmark-bit> envelope and parsed; bits input is emitted as html and the <table> fragments extracted (the envelope stripped). The markup inside <table> follows this parser's html mapping, which may differ from bpg's in detail.

      Parameters

      Returns unknown

    • Convert bitmark text ↔ text AST (bpg-compatible convertText).

      Direction is auto-detected: TextAst (JSON) input generates bitmark text; anything else parses as bitmark text and returns the TextAst (plain JS object; a string when jsonOptions.prettify is set).

      Parameters

      Returns unknown