Skip to content

Adapt regex detection to Pandoc 3 figures to still get numbering #1496

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

Merged
merged 5 commits into from
Apr 16, 2025

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Apr 16, 2025

fixes #1467

@yihui it seems adding support in regex for HTML that will be output by Pandoc 3 is enough to fix the problem.

@cderv cderv force-pushed the fix/pandoc-3-support branch from 1ee3da0 to 6a903db Compare April 16, 2025 16:33
Copy link
Member

@yihui yihui left a comment

Choose a reason for hiding this comment

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

Great! Thanks!

@yihui yihui merged commit d788871 into main Apr 16, 2025
1 check passed
@yihui yihui deleted the fix/pandoc-3-support branch April 16, 2025 16:43
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.

Figure numbering is broken in HTML output with pandoc 3.x when using Markdown image syntax
2 participants