Skip to content

feat!: allow custom headings attributes with optional value. Fixes #634#638

Merged
Martin1887 merged 2 commits intopulldown-cmark:masterfrom
Martin1887:custom_heading_attrs
May 7, 2023
Merged

feat!: allow custom headings attributes with optional value. Fixes #634#638
Martin1887 merged 2 commits intopulldown-cmark:masterfrom
Martin1887:custom_heading_attrs

Conversation

@Martin1887
Copy link
Collaborator

This feature is a breaking change because it modifies the Heading variant of the Tag enum with named fields and the new attrs field.

Fixes: #634

This feature is a breaking change because it modifies the `Heading`
variant of the `Tag` enum with named fields and the new `attrs` field.

Fixes: pulldown-cmark#634
Copy link
Collaborator

@raphlinus raphlinus left a comment

Choose a reason for hiding this comment

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

Thanks, looks good!

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.

Support custom heading attributes (attr and attr=value)

2 participants