Trevixal API
    Preparing search index...

    Class Mark

    A piece of inline formatting (bold, link, …). Immutable; identified by its type plus attributes.

    Index
    attrs: Attrs
    type: MarkType
    • Add this mark to a set, honoring mark-exclusion rules and keeping the set ordered by schema rank. Returns the same array when nothing changes.

      Parameters

      • set: readonly Mark[]

      Returns readonly Mark[]

    • Parameters

      Returns boolean

    • Parameters

      • set: readonly Mark[]

      Returns boolean

    • Parameters

      • set: readonly Mark[]

      Returns readonly Mark[]

    • Returns MarkJSON