From 3f75ddd65da6a5753fa90b429ed6f43b4eeae088 Mon Sep 17 00:00:00 2001 From: Albert Ting Date: Wed, 6 Jul 2016 16:47:46 -0400 Subject: Bug 1203960 - Add syntax highlighting to markdown r=dylan Initial implementation by Koosha KM --- template/en/default/bug/comments.html.tmpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'template/en/default/bug/comments.html.tmpl') diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index cc6bb977b..3074bf8e9 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -22,6 +22,11 @@ [% can_edit_comments = bug.check_can_change_field('longdesc', 0, 1) %] [% can_tag_comments = feature_enabled('jsonrpc') AND user.can_tag_comments %] +[% markdown_enabled = feature_enabled('jsonrpc') AND user.settings.use_markdown.value == "on" %] +[% IF markdown_enabled %] + +[% END %] + -- cgit v1.2.3-24-g4f1b