diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2016-12-15 17:11:38 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2016-12-15 17:11:38 +0300 |
commit | 4d1f5837125ffbe363897c8b222536e3e6db8fa5 (patch) | |
tree | 231cbd8672324cf0aeae0db291c948adefcfa9fd /app/assets/javascripts/preview_markdown.js | |
parent | ecfa8655de37a84007a72c274b5f9662c02499ef (diff) | |
parent | 2d170a20dc4cd3423ac7994c797cae8fbed263ba (diff) |
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.js | 2 |
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)); |