Conversation
…me colour as Function style
…lwalshe/quarto-cli into fix-arrow-highlight-14299
|
Thanks for the fix and the clear before/after comparison. I tested the change locally with the repro from the issue (plus axe-core via Contributor agreementIt looks like our PR template was removed from the PR description. One of the items it covers — also documented in CONTRIBUTING.md — is the contributor agreement. Since this is your first PR here, could you confirm you've signed an individual or corporate contributor agreement (sent to contribute@posit.co)? That's required for changes beyond small typos. If you'd rather not go through that process, no worries — let me know and I can re-implement the change on our side, crediting you in the commit. (Note: the PDF links in our CONTRIBUTING docs are currently broken on Posit's side — I'll follow up separately to fix those. If you need the documents, let me know and I can send them to you by email.) A note on theme parity (not blocking)I considered whether to mirror arrow-dark's mapping (BuiltIn = Char color, Extension = Variable color + bold) more literally. In arrow-dark those are semantically distinct, but in arrow-light |
|
Thanks for taking a look. Sorry for removing the template - did work through the checklist but removed as thought it was noise. On the contributor link - both of those are broken and 404 for me, so can't sign them (and not really a fan of signing an agreement for a contribution to an MIT licensed repo). Happy for you to re-implement the change and commit yourself :) |
yeah I am looking into that. I agree. This is leftover from when quarto was GPL at the beginning but we never removed. I'll ask around. And I discovered broken links today - Posit has a new website and those files were lost in migration it seems. Thanks again for your contribution. |
Description
Update arrow-light.theme to highlight BuiltIn and Extension styles rather than setting as
null, applying highlighting more similarly to arrow-dark.theme and other themes. Chosen the same colour asFunctionstyle to keep arrow-light fairly minimal.Fixes #14299
Examples
Example quarto file below which has a few different languages and some builtin & extension style types.
Resulting html under old and new versions of highlighting:
test_old.html
test_new.html
Screenshot samples of differences:
Old:
New: