Trevixal API
Preparing search index...
@trevixal/extension-diagram
isDiagramBlock
Function isDiagramBlock
isDiagramBlock
(
node
:
EditorNode
,
languages
?:
readonly
string
[]
)
:
boolean
Whether a node is a code block whose language is one of the diagram languages.
Parameters
node
:
EditorNode
languages
:
readonly
string
[]
= DEFAULT_DIAGRAM_LANGUAGES
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Trevixal API
Loading...
Whether a node is a code block whose language is one of the diagram languages.