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

enh(parser) className => scope, use "hybrid" pproach #3135

Merged
merged 4 commits into from
Apr 21, 2021

Conversation

joshgoebel
Copy link
Member

@joshgoebel joshgoebel commented Apr 14, 2021

Changes

Changes nested scopes to the hybrid TM approach suggested over
in the Prism thread on the subject.

Resolves #3085

Checklist

  • Added markup tests, or they don't apply here because...
  • Updated the changelog at CHANGES.md

@joshgoebel joshgoebel added this to the 11.0 alpha 1 milestone Apr 14, 2021
@joshgoebel joshgoebel changed the title enh(multi-class) use hybrid scope approach enh(parser) className => scope, use "hybrid" pproach Apr 14, 2021
@joshgoebel joshgoebel requested a review from allejo April 19, 2021 12:17
Copy link
Member

@allejo allejo left a comment

Choose a reason for hiding this comment

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

Shouldn't our Mode Reference documentation also be touched in this PR? i.e. specifying that className is deprecated in favor of scope?

Otherwise, this lgtm

@joshgoebel
Copy link
Member Author

I'll take another look, this may have grown from where it started and perhaps I still need to update a few docs.

@joshgoebel joshgoebel merged commit 0e8f0d2 into highlightjs:main Apr 21, 2021
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.

Discuss: Rename className to scope
2 participants