4 ms·
I've been using ReST w. Sphinx since years and it's not the answer either. Consider this simple fail of nested styling: *I am italic but also **bold**.*. T
by virtualritz 7y ago
I've been using ReST w. Sphinx since years and it's not the answer either.
Consider this simple fail of nested styling:
*I am italic but also **bold**.*.
This produces (all in italics but lacking any bold text):
I am italic but also **bold*.*
If you assumed asterisks could be stacked; nope:
*I am italic but also *bold*.*.
Produces (all in italics but lacking any bold text):
I am italic but also *bold.*
ReST/Sphinx can't do this. Doh!
Because of this you can also not have styling in e.g. link texts etc.
These limitations seem unnecessary and random. For example, when the parser handles a table, which is also just marker symbols for cells, you can have styled text or links in the cell's text. Why this works but nesting styles doesn't is completely beyond me.