The $…$ shortcut, to merge into an editor's rules: createEditor({ schema, inputRules: [...defaultInputRules(), ...mathInputRules()] }).
$…$
createEditor({ schema, inputRules: [...defaultInputRules(), ...mathInputRules()] })
Typing the closing $ swallows the whole $…$ run and leaves an inline math atom with the caret after it.
$
The
$…$shortcut, to merge into an editor's rules:createEditor({ schema, inputRules: [...defaultInputRules(), ...mathInputRules()] }).Typing the closing
$swallows the whole$…$run and leaves an inline math atom with the caret after it.