Monday, February 28, 2011

Doubling Birth Control Breakthrough Bleeding

Razor plugin SyntaxHighlighter

As many of you I use the excellent SyntaxHighlighter Alex Gorbachev to format the snippets of code on my blog.

Although it has many plug-in support for language, some very esoteric, I have not seen for the preferred language of those who VMC WebMatrix 3 or I appointed razor.

razor

So, I started and here is a very first downloadable version

here and here is an example de mise en forme

 
@model CustomMVCScaffolder.Models.Employee

@* This partial view defines form fields that will appear when creating and editing entities *@

@Html.LabelFor(model => model.NationalIdNumber)


@Html.EditorFor(model => model.NationalIdNumber)
@Html.ValidationMessageFor(model => model.NationalIdNumber)


@foreach (var ourItem in ourList) {
if (ourItem != ourList.First()) {
outItem.Name
}
}

@Html.ActionLink("Edit", "Edit", new { id=item.UserName }) })

0 comments:

Post a Comment