display of nested emphasis / strong
While nested emphasis and strong inline formatting is permitted in pandoc, and renders correctly there into pdf/tex/html, markdown-mode does not format the markdown accordingly:
__nested _nests_ nest nests__
**nested *nests* nest nests**
__nested *nests* nest nests__
**nested _nests_ nest nests**
_nested __nests__ nest nests_
_nested **nests** nest nests_
*nested __nests__ nest nests*
*nested **nests** nest nests*
Expected Behavior
It should look like this (imagine the markup around it):
nested nests nest nests nested nests nest nests
nested nests nest nests nested nests nest nests
nested nests nest nests nested nests nest nests
nested nests nest nests nested nests nest nests
Actual Behavior
This is how it looks:
Steps to Reproduce
Paste the above into a buffer with markdown-mode.
There are error messages (I am unsure whether they are related):
Invalid face attribute :inherit face-faded
Invalid face reference: face-faded
(tried with several fonts).
Software Versions
- Markdown Mode: 2.5-dev
- Emacs: GNU Emacs 26.3
- OS: macOS 10.15.6
Seeing the same thing. I'd love to have a way to display bold inside of italic. Maybe related to bug #223 ? And the comments there about overhauling fontification probably apply here too.
Ah yes, this is related. It would definitely be worth a fix, since these combinations are semantically relevant in markdown.
This issue persists in the current developer version. Pandoc conversion to pdf is correct.
Any news with regards to this? (bump)
I'm afraid that there is no progress