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 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
Well, when I write
- Point 1 - Point 1.a - Point 1.b - Point 2and I go to
composeand back towrite, it becomes* Point 1 * Point 1.a * Point 1.b * Point 2which to me less aesthetic!