Skip to content

Introduce options struct for markdown rendering #2809

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 1 commit into from
Aug 22, 2025

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Aug 22, 2025

This adds MarkdownOptions for creating the pulldown-cmark parser, and HtmlRenderOptions for converting markdown to HTML. These types should help make it easier to extend the rendering options while remaining semver compatible. It should also help with just general ergonomics of using these functions.

This adds `MarkdownOptions` for creating the pulldown-cmark parser, and
`HtmlRenderOptions` for converting markdown to HTML. These types should
help make it easier to extend the rendering options while remaining
semver compatible. It should also help with just general ergonomics of
using these functions.
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Aug 22, 2025
@ehuss ehuss added the Breaking Change This would require a SemVer breaking change label Aug 22, 2025
@ehuss ehuss enabled auto-merge August 22, 2025 23:18
@ehuss ehuss added this pull request to the merge queue Aug 22, 2025
Merged via the queue into rust-lang:master with commit 6be8e52 Aug 22, 2025
14 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: waiting on a review label Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking Change This would require a SemVer breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants