prosekit/extensions/math
Interfaces
Section titled “Interfaces”MathOptions
Section titled “MathOptions”Options for defineMath.
Properties
Section titled “Properties”-
renderMathBlock:RenderMathBlock -
The function to render the math block.
-
renderMathInline:RenderMathInline -
The function to render the math inline.
Type Aliases
Section titled “Type Aliases”MathExtension
Section titled “MathExtension”-
type MathExtension =Union<[MathInlineExtension,MathBlockExtension]>
Functions
Section titled “Functions”defineMathBlock()
Section titled “defineMathBlock()”-
function defineMathBlock(options:MathBlockOptions):MathBlockExtension -
Defines node
mathBlockand related functionalities.
defineMathInline()
Section titled “defineMathInline()”-
function defineMathInline(options:MathInlineOptions):MathInlineExtension -
Defines node
mathInlineand related functionalities.
defineMathPlugin()
Section titled “defineMathPlugin()”-
function defineMathPlugin():PlainExtension
defineMath()
Section titled “defineMath()”-
function defineMath(options:MathOptions):MathExtension