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

[Syntax Higlight] handle variable as HTML tag #91

Open
1 of 5 tasks
jimblue opened this issue Jun 19, 2024 · 0 comments
Open
1 of 5 tasks

[Syntax Higlight] handle variable as HTML tag #91

jimblue opened this issue Jun 19, 2024 · 0 comments

Comments

@jimblue
Copy link

jimblue commented Jun 19, 2024

Which Antlers Toolbox products are you requesting a feature for?

  • 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:

Screenshot 2024-06-19 at 20 39 39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant