what is the correct syntax for using Razor syntax inside a style tag of a view? I tried two different ways:
<style scoped>
.test1
{
background-color: @Model.bgColor;
}
.test2
{
background-color: @(Model.bgColor);
}
</style>
Both versions will break syntax highlighting and code indentation of Visual Studio 2012 (Version 11.0.60610.01 Update 3).
Any idea? Thanks!