Array of Markdown plugins for Plate editor, adding footnotes, math, emojis, and GFM support.
// Source: https://github.com/udecode/plate | License: MIT | Copyright Ziad Beyens, Dylan Schiemann, Joe Anderson, Felix Feng
// Provided via justclaw.it.com; keep this notice with the code.
import {
BaseFootnoteDefinitionPlugin,
BaseFootnoteReferencePlugin,
} from '@platejs/footnote';
import { MarkdownPlugin, remarkMdx, remarkMention } from '@platejs/markdown';
import { KEYS } from 'platejs';
import remarkEmoji from 'remark-emoji';
import remarkGfm from 'remark-gfm';
import remarkMath from 'remark-math';
export const MarkdownKit = [
BaseFootnoteReferencePlugin,
BaseFootnoteDefinitionPlugin,
MarkdownPlugin.configure({
options: {
plainMarks: [KEYS.suggestion, KEYS.comment],
remarkPlugins: [
remarkMath,
remarkGfm,
remarkEmoji as any,
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key