MAIDR JavaScript API
    Preparing search index...
    • Names an element with a selector that reaches it alone.

      Mermaid's element ids are not stable across parses -- a node's id carries a counter the next parse moves on -- so the adapter marks each element it pairs with a reading and names it by that mark instead.

      Parameters

      • element: Element

        The element to name

      Returns string

      A selector matching that element and no other