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

feat: support admonitions inside list items #124

Merged
merged 1 commit into from
Sep 9, 2023
Merged

feat: support admonitions inside list items #124

merged 1 commit into from
Sep 9, 2023

Conversation

tommilligan
Copy link
Owner

@tommilligan tommilligan commented Sep 9, 2023

Closes #123

Maintains indent of admonition blocks from enclosing items. This allows the final rendered item to be embedded in a parent, such as a list:

image

Prior to this, admonitions were transformed into HTML, but this HTML was not indented in the parent markdown. This led to the item not being considered a child of the containing markdown.

@tommilligan tommilligan changed the title jfeat: support admonitions inside list items feat: support admonitions inside list items Sep 9, 2023
@tommilligan tommilligan merged commit 8e68cf9 into main Sep 9, 2023
5 checks passed
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.

Admonishments inside lists restarts numbering
1 participant