Adding new syntaxhighlighter

This commit is contained in:
Nathan Adams
2014-03-09 22:37:07 -05:00
parent 931187da9b
commit 9ffb668e4e
48 changed files with 5540 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
{if $preview}
<h2 id="preview" class="top">{trans 'Preview of the Page'}</h2>
{$preview}
{markdown $preview, $request}
{/if}

View File

@@ -27,6 +27,9 @@ by {$submitter}.{/blocktrans}</p>
<div id="wiki-toc"><span id="contentheader">{trans 'Table of Content'}</span><div id="wiki-toc-content"></div></div>
<script type="text/javascript" src="{media '/idf/js/wiki-toc.js'}"></script>
<p class="desc">{$page.summary}</p>
{literal}
<script type="syntaxhighlighter" class="brush: js"> for(i = 0; i < 10; i++) { } </script>
{/literal}
{markdown $rev.content, $request}