// // GET: /Wiki/ public ActionResult Index(string node, string language = "", bool minimal = false) { string ret = WikiHandler.LoadWiki(node, language); if (minimal) { return(Content(ret)); } else { return(View(new WikiData() { Content = new MvcHtmlString(ret), Node = node })); } }
public static MvcHtmlString IncludeWiki(this HtmlHelper helper, string node) { return(new MvcHtmlString(WikiHandler.LoadWiki(node, "", true))); }