summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/preview_markdown.js
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2016-12-15 14:11:38 +0000
committerSean McGivern <sean@mcgivern.me.uk>2016-12-15 14:11:38 +0000
commit4d1f5837125ffbe363897c8b222536e3e6db8fa5 (patch)
tree231cbd8672324cf0aeae0db291c948adefcfa9fd /app/assets/javascripts/preview_markdown.js
parentecfa8655de37a84007a72c274b5f9662c02499ef (diff)
parent2d170a20dc4cd3423ac7994c797cae8fbed263ba (diff)
downloadgitlab-ce-4d1f5837125ffbe363897c8b222536e3e6db8fa5.tar.gz
Merge branch 'katex-math' into 'master'
Render math in Asciidoc and Markdown with KaTeX using code blocks Closes #13690 and #13180 See merge request !8003
Diffstat (limited to 'app/assets/javascripts/preview_markdown.js')
-rw-r--r--app/assets/javascripts/preview_markdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/preview_markdown.js b/app/assets/javascripts/preview_markdown.js
index 2dc8eb8b2de..1e261cd49c2 100644
--- a/app/assets/javascripts/preview_markdown.js
+++ b/app/assets/javascripts/preview_markdown.js
@@ -28,7 +28,7 @@
return this.renderMarkdown(mdText, (function(_this) {
return function(response) {
preview.html(response.body);
- preview.syntaxHighlight();
+ preview.renderGFM();
return _this.renderReferencedUsers(response.references.users, form);
};
})(this));