tommoor / slate-md-serializer

A Markdown serializer for the Slate editor framework
MIT License
64 stars 36 forks source link

Example #25

Closed markolofsen closed 6 years ago

markolofsen commented 6 years ago

Can you upload online example?

tommoor commented 6 years ago

Hi, the best example of the serializer in use is in rich-markdown-editor, deserialize:

https://github.com/outline/rich-markdown-editor/blob/master/src/index.js#L83

serialize:

https://github.com/outline/rich-markdown-editor/blob/master/src/index.js#L113

For additional context you might look at the serializers written by the core team: https://docs.slatejs.org/general/plugins#serializers

markolofsen commented 6 years ago

@tommoor merci beaucoup