vscode-antlers-language-server
vscode-antlers-language-server copied to clipboard
[Syntax Higlight] handle variable as HTML tag
Which Antlers Toolbox products are you requesting a feature for?
- [X] Antlers Toolbox for VS Code
- [ ] Antlers Toolbox for VS Code Formatter
- [ ] Formatter CLI
- [ ] Antlers Prettier Plugin
- [ ] Antlers Syntax Highlighting (external systems - not VS Code)
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Sometimes, it's necessary to use a different HTML tag depending on the context.
For exemple, the following card
component, could have a card_html_tag
that is a div
or an article
:
<{{ card_html_tag }} class="card">
<h2>Card Title</h2>
</{{ card_html_tag }}>
But for now, this break the syntax highlight: