Monday, May 25, 2009

Trying out SyntaxHighlighter with blogger

The primary requirement for my blogging platform is to be able to display pretty printed code. So here goes:

public static void RegisterRoutes(RouteCollection routes) {
          routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

          routes.MapRoute(
              "Default", // Route name
              "{controller}/{action}", // URL with parameters
              new {controller = "Home", action = "Index"} // Parameter defaults
              );
      }

No comments:

Post a Comment