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

[draft] XML processing directives #3492

Merged
merged 5 commits into from
Mar 2, 2022

Conversation

joshgoebel
Copy link
Member

@joshgoebel joshgoebel commented Feb 25, 2022

Closes #3479.

Changes

Checklist

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

@joshgoebel joshgoebel added this to the 11.5 milestone Mar 1, 2022
@joshgoebel joshgoebel requested a review from allejo March 1, 2022 11:41
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.

These changes look fine to me and fix the problem at hand. I'm not sure how I feel about just highlighting strings in directives and not their respective attributes (we highlight "attributes" in the meta <! sections).

image

Taking a look at two separate editors, it looks like they highlight the attributes in directives.

image
image

test/markup/index.js Outdated Show resolved Hide resolved
@joshgoebel
Copy link
Member Author

We also have the problem of things inside meta not being styled super well (or consistently) historically other than meta string and meta keyword... so that's a great point but I think I'm happy to circle back and solve it another day. :)

@allejo
Copy link
Member

allejo commented Mar 2, 2022

...I think I'm happy to circle back and solve it another day

I'm fine with that, it's nothing blocking this PR imo

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.

XML mode doesn't highlight processing instructions
2 participants