pull down to refresh
yup https://github.com/stackernews/stacker.news/issues/2860
Our bi-directional pipeline allows for lossless structure translation, but it has its own opinions when it comes to markdown serialization.
We can probably store the markdown syntax style on each rich node, for example:
- Point 1 - Point 1.a * Point 1.b * Point 2
can be translated to these rich nodes:
ListItem - Text: Point 1 - Markdown: DASH - ListItem - Text: Point 1.a - Markdown: DASH - ListItem - Text: Point 1.b - Markdown: STAR ListItem - Text: Point 2 - Markdown: STAR
* this way, going back to write, we already know what marker style we need to use.
write
yup https://github.com/stackernews/stacker.news/issues/2860
Our bi-directional pipeline allows for lossless structure translation, but it has its own opinions when it comes to markdown serialization.
We can probably store the markdown syntax style on each rich node, for example:
- Point 1 - Point 1.a * Point 1.b * Point 2can be translated to these rich nodes:
ListItem - Text: Point 1 - Markdown: DASH - ListItem - Text: Point 1.a - Markdown: DASH - ListItem - Text: Point 1.b - Markdown: STAR ListItem - Text: Point 2 - Markdown: STAR