4 ms·
Wasn't reStructuredText the one where you can't make text a link if any of it is bold/italic/monospaced? IIRC, nesting of inline markup is generally not possibl
by meribold 2y ago
Wasn't reStructuredText the one where you can't make text a link if any of it is bold/italic/monospaced? IIRC, nesting of inline markup is generally not possible. It works in Markdown…
- hwayne 2y agoYes, and this sucks.
- remram 2y agoI had to scroll way too far to find this. All the arguments for RST are about how much more expressive the language is, how much care was taken in making it an abstract document tree. Yet there are simple trees you can't encode, even common ones that markdown handles fine. I'm not using a language simply because it was aiming at something better, if it missed the mark.
- xigoi 2y ago> IIRC, nesting of inline markup is generally not possible. It works in Markdown… How do you write <i><b>x</b>y</i> in Markdown (without using HTML tags)?
- meribold 2y agoMaybe Markdown doesn't allow arbitrary nesting of inline markup, but the combinations I actually wanted so far work. With reStructuredText, OTOH, I ran into limitations even though I didn't try to commit typographic atrocities.
- remram 2y ago_**x**y_ works fine, I tried on GitHub: https://gist.github.com/remram44/8cd460aef9020aa53d538b82cb40bd9f https://gist.github.com/remram44/8cd460aef9020aa53d538b82cb4...
- xigoi 2y agoOops, I forgot that underscores are a thing :D
- ideasman42 2y agoRight, this is the one fairly clear down-side of RST, in practice I've found it's never been an issue - but it does seem like a strange constraint. If you really want you can define bold italic text using some styling magic, but that's quite awkward.