Replies: 1 comment 1 reply
-
|
That should be covered by a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When i use the milkdown/crepe that official provided, after i paste some content as blow:
a^2+b^2=c^2 note: add $ both start and end
the milkdown/crepe will recognize it and parse into correct table automatically, but when i build my own editor by using milkdown/kit from scratch, it will not parse it automatically, i have imported some recommended plugin like this:
import { clipboard } from "@milkdown/kit/plugin/clipboard";
import { listener, listenerCtx } from "@milkdown/kit/plugin/listener";
import { math } from '@milkdown/plugin-math';
and used it like this:
Editor.make(). .use(commonmark).use(gfm) .use(math ).config(nord).use(clipboard).use(listener)
but it didn't work!!!
Does it different from milkdown/crepe? what other things did milkdown/crepe do to make it parse clipboard content automatically when the user paste content into it? someone knows?
when paste it:

but when i input one by one, it woks:
chrome_rvMnqnBSY6.mp4
Beta Was this translation helpful? Give feedback.
All reactions