Serialization of Rich-Text Format, not natively representable in Markdown #581
Replies: 1 comment 8 replies
-
|
Markdown can include HTML. See the original spec. You can just write <h2 style="text-align: center; color: red;">Hello World<h2>instead of ## Hello WorldHowever, editing experience may not be great because you may need to switch to raw mode to edit attributes/styles. For that reason, you can create custom editor components. There will be no Remark support as Lexical is not part of the Remark ecosystem. HTML export is planned as said in #571 (comment). |
Beta Was this translation helpful? Give feedback.
8 replies
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.
-
E.g. what if I'd like to center heading text and add some text-color.
How is it going to be serialized to Markdown by Sveltia? With HTML extensions? With shortcode extensions?
Lexical's Markdown plugin probably does not support natively exporting such nodes to Markdown. Maybe plugging in remark as exported should be implemented
Beta Was this translation helpful? Give feedback.
All reactions