Skip to content

Conversation

@e13h
Copy link
Contributor

@e13h e13h commented Aug 14, 2025

Fixes #38

Added blockquote renderer function that augments the upstream blockquote renderer to skip inserting a blockquote marker on each line of a dollarmath block.

Input:

> $$
a=1
$$

Previous Output (without PR):

> $$
> a=1
> $$

New Output (with PR):

> $$
a=1
$$

Added unit tests to verify this logic.

Copy link
Collaborator

@KyleKing KyleKing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This looks good to me

@e13h e13h changed the title Overwrite mdformat blockquote renderer to support blockquoted dollarmath blocks [FIX] Overwrite mdformat blockquote renderer to support blockquoted dollarmath blocks Aug 19, 2025
@e13h e13h force-pushed the fix-blockquote-dollarmath branch from ab20412 to 1845122 Compare August 19, 2025 05:02
@e13h
Copy link
Contributor Author

e13h commented Aug 19, 2025

Also rebased and fixed PR title here too.

@KyleKing KyleKing merged commit adbcedb into executablebooks:master Aug 19, 2025
12 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.

Blockquoted dollar math equation results in error message

2 participants