Open raven42 opened 8 months ago
Would it be possible to add support for github style callouts in markdown and have them render as sphinx admonitions?
Currently if I have a markdown document defined like this:
# Some Section Some paragraph > :warning: Some warning message
On github markdown, it renders like this with the 'warning' icon:
Some Section Some paragraph ⚠️ Some warning message
Some paragraph
⚠️ Some warning message
However when using the m2r2 to convert the markdown, it treats this as a parameter listing like this:
Some section ============ Some paragraph .. :warning: Some warning message
Which in the sphinx compiled html output, it renders like this:
Ideally it would be nice if this could support github style callouts like this and render it as a sphinx warning/note/etc directive instead like this:
Some section ============ Some paragraph .. warning:: Some warning message
Would it be possible to add support for github style callouts in markdown and have them render as sphinx admonitions?
Currently if I have a markdown document defined like this:
On github markdown, it renders like this with the 'warning' icon:
However when using the m2r2 to convert the markdown, it treats this as a parameter listing like this:
Which in the sphinx compiled html output, it renders like this:
Ideally it would be nice if this could support github style callouts like this and render it as a sphinx warning/note/etc directive instead like this: