This project is read-only.

How to use WikiPlex with Razor syntax?

Mar 9, 2011 at 8:42 AM

Hello, I'm using MVC3 Razor syntax in View. How I can use WikiPlex engine to render "wiki-like content" in View (avoid code in Controller)?

Tnx.

Marek

Jun 9, 2011 at 6:25 PM

Sorry I never responded to this. It could be as simple as

@{
   var engine = new WikiEngine();
   var output = engine.Render(Model.Wiki);
}

@Html.Raw(output)

However, with this approach, you're limited to the defaults (which may be OK)