flexmark-java
flexmark-java copied to clipboard
add inline parsing for admonition titles to enable formatting
This change enables inline formatting in admonitions.
For this a new AdmonitionTitle
node is introduced as the first child of an AdmonitionBlock
.
I'm not happy about the inlined visitChildren
in both renderer and formatter to skip over the title node.
Any hints for improvement?
!!! info "Test *inline* `formatting` for [admonition titles](https://github.com/vsch/flexmark-java/wiki/Extensions#admonition)"
This change enables inline formatting in admonitions.