I have a custom language that is an extension of HTML. One of the features is to allow the injection of ruby code in HTML attributes beginning with “:” for certain tags, e.g.:
<x-abc :title="this is ruby code"/>
However, currently the default Vue plugin is injecting JavaScript into these attributes.
How can I disable the Vue injection? Preferably just for certain tags.
Is there an easy way to add an injection into XML attributes without needing a lexer?
Is it possible to re-enable the Vue injection if there are two colons, ::?
I’ve been looking into extension points, but I’ve only found names, and no descriptions of what they do.