-
Notifications
You must be signed in to change notification settings - Fork 94
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
@examples
section messes up highlighting in roxygen2 blocks further down the page
#1360
Comments
Here's the offending code: positron/extensions/positron-r/syntaxes/r.tmGrammar.src.json Lines 427 to 436 in 8611f6e
We need to improve how the "end" of an roxygen example code chunk ends. |
That was intentional; the goal there is to help comment-style section titles stand out. Do you prefer the "plain" comment styling? |
@kevinushey Having them stand out could be nice, but the color matching the default/code color doesn't make them stand out to me. I'd prefer either plain comment styling or using a different color (like a lighter green or something here) to have them stand out. Turning that text to black seems like it's not being interpreted as a comment. |
Just hit this again for the docs of Screen.Recording.2024-08-27.at.11.25.18.AM.mov |
@examples
section messes up highlighting in roxygen2 blocks further down the page
Positron Version:
Steps to reproduce the issue:
cf https://github.com/r-lib/devtools/blob/main/R/package.R#L88
What did you expect to happen?
Looks like something further up the page leaves the parser in the wrong state.
Were there any error messages in the output or Developer Tools console?
The text was updated successfully, but these errors were encountered: