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

Ask an element if it is a :block or :span directly #578

Closed

Conversation

ashmaroli
Copy link
Contributor

@ashmaroli ashmaroli commented Feb 1, 2019

Allows simplifying calls such as Kramdown::Element.category(el) == :block or
Kramdown::Element.category(el) == :span with el.block? and el.span? respectively.

@gettalong
Copy link
Owner

@ashmaroli Thank you for this contribution! I have rebased and merged your changes.

@gettalong gettalong closed this Apr 17, 2020
@gettalong gettalong self-assigned this Apr 17, 2020
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.

None yet

2 participants