Support For Javascript Template Markup When Editing Html Files In Visual Studio
I have some HTML files that are loaded by Javascript and used to render content using underscore.js templates. They include markup like the following:
Then you may extract the content like this
$("#userTemplate").html() // to get the contentAs for <%, I currently do not know how to make VS ignore it, though I doubt it.
Update
Well, since you're using underscore.js, why not change the _.templateSettingsto use another symbol.
Post a Comment for "Support For Javascript Template Markup When Editing Html Files In Visual Studio"