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

Components parameters in Vue template tag #46

Open
elchininet opened this issue Apr 4, 2024 · 0 comments
Open

Components parameters in Vue template tag #46

elchininet opened this issue Apr 4, 2024 · 0 comments

Comments

@elchininet
Copy link

elchininet commented Apr 4, 2024

At the moment, using Vue language it seems to be using the HTML grammar for the template, so it also takes the HTML deprecated attributes. This is OK as far as one is working with native HTML elements, but if one is using an imported Vue component that admits a property with the same name as the deprecated HTML attributes, the next occurs:

image

Currently what I am doing is patching the shiki dist/langs/html.mjs file renaming the deprecated HTML attributes to something else, but then if I use a native HTML element with one of those attributes it will not mark them as deprecated.

Is there any way of overcome this?

Thanks is advance

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