Skip to content

CreateEditorClassLanguageOptions.lineClassNodeProperty?

CreateEditorClassLanguageOptions › lineClassNodeProperty?

Type: NodeProp<string>

A further node prop that carries a line node's classes, joined by spaces. Obsidian's editor renders a line's classes from the lineClassNodeProp its copy of @codemirror/language adds, so a host there passes that prop.