Adding new syntaxhighlighter
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
{if $preview}
|
||||
<h2 id="preview" class="top">{trans 'Preview of the Page'}</h2>
|
||||
|
||||
{$preview}
|
||||
{markdown $preview, $request}
|
||||
{/if}
|
||||
|
||||
|
@@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user