Trevixal API
    Preparing search index...
    • Insert a diagram code block: codeBlock with the given language, and put the caret at the end of its code, ready to keep typing. Without code the block starts from DEFAULT_DIAGRAM_TEMPLATE. Fails (null) when the schema has no codeBlock.

      Parameters

      • code: string = DEFAULT_DIAGRAM_TEMPLATE
      • language: string = 'mermaid'

      Returns Command