Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

333 B
Raw Blame
import { MathInline as BaseMathInline } from '@inkeep/open-knowledge-core/extensions/math-inline';
import { ReactNodeViewRenderer } from '@tiptap/react';
import { MathInlineView } from './MathInlineView';

export const MathInline = BaseMathInline.extend({
  addNodeView() {
    return ReactNodeViewRenderer(MathInlineView);
  },
});