Markdown: start adding markdown wiki mode.
[citadel.git] / webcit / messages.c
index e6dd7767d8f60d86934374277ebf8904dd40d909..9e538d234a64e106a857606ce5c3fac602f3b6c4 100644 (file)
@@ -1705,7 +1705,10 @@ void display_enter(void)
 
        begin_burst();
        output_headers(1, 0, 0, 0, 1, 0);
-       DoTemplate(HKEY("edit_message"), NULL, &NoCtx);
+       if (WCC->CurRoom.defview == VIEW_WIKIMD) 
+               DoTemplate(HKEY("edit_markdown_epic"), NULL, &NoCtx);
+       else
+               DoTemplate(HKEY("edit_message"), NULL, &NoCtx);
        end_burst();
 
        return;