Skip to content

lineHighlighter

Unofficial

This extension installs a highlighter that highlights lines based on lineClassNodeProp and tokenClassNodeProp.

This only exists and can only be used in Obsidian.

Import:

import type { lineHighlighter } from '@codemirror/language';

Signature:

const lineHighlighter: Extension

Type: Extension