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.
codeBlock
language
code
Insert a diagram code block:
codeBlockwith the givenlanguage, and put the caret at the end of its code, ready to keep typing. Withoutcodethe block starts from DEFAULT_DIAGRAM_TEMPLATE. Fails (null) when the schema has nocodeBlock.