Re:Why the heck are we still using Markdown?
by politician on Saturday April 04, 2026 @10:16AM
(#47639276)
_underscore_ for italics conflicts with most identifiers in most languages.
Markdown was created in an era before the web had easily used components for structural syntax highlighting (tree-sitter) and where reliance on regex-based approaches was more common.
Re:Why the heck are we still using Markdown?
by sudahtigabulan on Sunday April 05, 2026 @12:01AM
(#47646009)
> Maybe using an unnatural placement of )parentheses( could have worked as a non-conflicting indicator of italics.
Using different delimiter for opening and closing is a good idea on its own, too. I think it makes parsing simpler and unambiguous wrt nesting.
I've imagined something like this:
`(monospace)
_(underline)
/(italics)
~(overstrike)
Probably looks a bit more distracting, though.
As for /slashes/, which would visually be perfect for italics, the only reason they conflict between italics and filepaths is the fact that in both cases they are expected to be used at the beginning and end of a word. Maybe using an unnatural placement of )parentheses( could have worked as a non-conflicting indicator of italics.