Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add inline parsing for admonition titles to enable formatting #607

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

protogenes
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant