top | item 41121440

(no title)

meribold | 1 year 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…

discuss

order

remram|1 year ago

I 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.

ideasman42|1 year ago

Right, 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.

xigoi|1 year 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|1 year ago

Maybe 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.

hwayne|1 year ago

Yes, and this sucks.