-
Notifications
You must be signed in to change notification settings - Fork 53
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
Support Multi-Language highlighting #70
Comments
That would be an awesome improvement to the tool. Thanks for the suggestion! |
As @bashbunni said, I will be working on implementing this. |
Hey @b-per! Can you share code examples used with |
Here is an example of code that combines SQL and Jinja. In the "dbt" world, it would be saved as
In VSCode, I can get it formatted as: Ideally, |
Is your feature request related to a problem? Please describe.
In my day to day, I write a lot of dbt code which leverages a lot of jinja-sql (e.g. Jinja syntax in conjunction with SQL).
freeze
can highlight those either as SQL or Jinja, but not as both (the Jinja code as Jinja and the SQL code as SQL, at the same time)Describe the solution you'd like
It looks like chroma supports this type of multi-language highlighting already, when we define both a
language
and aroot
.freeze
could be updated to add an argument for a second language, or like the Jinja VSCode extension does, provide new languages, likejinja-sql
Describe alternatives you've considered
Not getting both languages highlighting and doing screenshots in VSCode
Additional context
N/A
The text was updated successfully, but these errors were encountered: