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

Implement @highlight-file directive. #674

Merged
merged 1 commit into from
Sep 23, 2023
Merged

Implement @highlight-file directive. #674

merged 1 commit into from
Sep 23, 2023

Conversation

gdotdesign
Copy link
Member

This PR adds the @highlight-file directive, which is a different version of the @highlight directive.

The issue with the @highlight directive is that it can only highlight expressions and cannot highlight top level elements. For the new website, I needed to highlight top level elements for the landing page, so this is the solution for that.

@gdotdesign gdotdesign added the language Language feature label Sep 23, 2023
@gdotdesign gdotdesign added this to the 0.20.0 milestone Sep 23, 2023
@gdotdesign gdotdesign self-assigned this Sep 23, 2023
@gdotdesign gdotdesign merged commit fef27ee into master Sep 23, 2023
3 checks passed
@gdotdesign gdotdesign deleted the highlight-file branch September 23, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language Language feature
Development

Successfully merging this pull request may close these issues.

2 participants