Double Curly/Squiggly Brace/Brackets Syntax Highlighting in Razor

{{ Using double curly braces adds some syntax highlighting in Visual Studio }}

This syntax is used by some “Client-Side Template” engines such as mustache.js and so Visual Studio highlights this for you – isn’t that kind?!

Smashing Magazine seems to have a comprehensive guide to client side templating if you want to know more 🙂

Advertisements
Posted in MVC

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s