-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat(richtext-lexical): support escaping markdown characters #11784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
packages/richtext-lexical/src/packages/@lexical/markdown/MarkdownImport.ts
Show resolved
Hide resolved
packages/richtext-lexical/src/packages/@lexical/markdown/MarkdownImport.ts
Outdated
Show resolved
Hide resolved
I know this is urgent to fix our docs, but it would be nice if once facebook/lexical#2715 is merged, we could get rid of this code. It's easy to forget to do that. I suggest not closing #10289 yet and leaving an explanatory comment there. |
There is one other blocker that prevents us from getting rid of this code: @lexical/markdown still depends on @lexical/code, which will break node when executed from a standalone script |
🚀 This is included in version v3.29.0 |
Fixes #10289 and #11772 This adds support for escaping markdown characters. For example,` \*` is supposed to be imported as `*` and exported back to `\*`. Equivalent PR in lexical repo: facebook/lexical#7353
Fixes #10289 and #11772
This adds support for escaping markdown characters. For example,
\*
is supposed to be imported as*
and exported back to\*
.Equivalent PR in lexical repo: facebook/lexical#7353