Handlebars template system for .NET
using System;
using NHandlebars;
static class Example
{
public static void Main()
{
var output = Handlebars.Render("hi, {{user}}!", new { user = Environment.UserName });
Console.WriteLine(output);
}
}
using System;
using NHandlebars;
static class Example
{
public static void Main()
{
var template = Handlebars.Compile("hi, {{user}}!");
template(Console.Out, new { user = Environment.UserName });
template(Console.Out, new { "man" });
}
}