Re:Ask HN: Lightweight markup language with an open-source W...
by mikece on Thursday July 06, 2023 @02:52PM
(#36620936)
What was wrong with Visual Studio Code?
[ Parent
| on HN ]
Re:Ask HN: Lightweight markup language with an open-source W...
by Blip-A on Thursday July 06, 2023 @02:55PM
(#36620988)
I assume it suffers from the same issues as the other Markdown editors I've tried, particularly failure to soft wrap list items to the appropriate level of visual indentation.
Re:Ask HN: Lightweight markup language with an open-source W...
by mikece on Thursday July 06, 2023 @03:00PM
(#36621075)
You assume? Wrapping to the "proper" indent level is a highly subjective statement but line-wraps in Markdown in VS Code don't go back to the start of the line but to the level of indentation.
Re:Ask HN: Lightweight markup language with an open-source W...
by Blip-A on Thursday July 06, 2023 @03:04PM
(#36621138)
Am I wrong? To clarify, I'm not looking for a Markdown editor with a preview pane. I'd want to see proper soft wrapping in the editor pane itself.
Edit: I also want the line to to be indented past the number or bullet, e.g:
Right:
1. first line of text
second line of text
Wrong:1. first line of text
second line of text
Re:Ask HN: Lightweight markup language with an open-source W...
by mikece on Thursday July 06, 2023 @03:18PM
(#36621342)
The spec doesn't address line wrapping in editors: https://spec.commonmark.org/0.30/#indented-code-blocks
I imagine you could open a Github issue or even submit a PR if you don't like how a certain editor does word wrapping in Markdown lists. Personally I am not concerned with this detail.
Re:Ask HN: Lightweight markup language with an open-source W...
by Blip-A on Thursday July 06, 2023 @03:28PM
(#36621486)
You are correct, I was using proper in a highly subjective/opinionated way. It's just that I would prefer lists to be wrapped and indented the same way they would be in a rendered document, as I will only be reading these notes in my editor.