bzrmirror%bugzilla.org daef60d81c Bug 330707: Add optional support for MarkDown
r=dkl,a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265524 18797224-902f-48f8-a5cc-f745e15eee43
2014-08-28 17:30:55 +00:00

43 lines
851 B
Cheetah

[%# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
#%]
[% INCLUDE global/header.html.tmpl title = "Your Linkified Text" %]
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]
<p>
Copy and paste the text below:
</p>
<hr>
<p>
<pre class="bz_comment_text">
[%- cgi.param("text") FILTER markdown FILTER html -%]
</pre>
</p>
<hr>
<p>
If you place it in <code>&lt;pre&gt;</code> tags,
the text will end up looking like this:
</p>
<hr>
<p>
<pre class="bz_comment_text">
[%- cgi.param("text") FILTER markdown -%]
</pre>
</p>
<hr>
[% INCLUDE global/footer.html.tmpl %]