You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My main use case is for ERB, but I think it would be very nice to integrate the above in a way that allows any mix of difftastic's supported programming languages with structured text formats.
.html.erb => Ruby embedded in HTML
.xml.erb => Ruby embedded in XML
.json.epy => Python embedded in JSON
.toml.epl => Perl embedded in TOML
Anything goes!
The text was updated successfully, but these errors were encountered:
There's an existing parser for <% %> based templates:
https://github.com/tree-sitter/tree-sitter-embedded-template
My main use case is for ERB, but I think it would be very nice to integrate the above in a way that allows any mix of difftastic's supported programming languages with structured text formats.
.html.erb => Ruby embedded in HTML
.xml.erb => Ruby embedded in XML
.json.epy => Python embedded in JSON
.toml.epl => Perl embedded in TOML
Anything goes!
The text was updated successfully, but these errors were encountered: