diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-09-10 22:29:56 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-09-10 22:38:24 +0300 |
commit | 4e54b82326e0a24c3b5196956f1e957b3f7c02e9 (patch) | |
tree | 7e7d3a354f5f9e0755ffe28daab559459afbe547 /app | |
parent | 404a01ab148417f6314c94d213769dd72fd0589e (diff) |
Apply syntax highlighting to Markdown previews
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/dropzone_input.js.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/dropzone_input.js.coffee b/app/assets/javascripts/dropzone_input.js.coffee index a0dcaa8c27a..6f789e668af 100644 --- a/app/assets/javascripts/dropzone_input.js.coffee +++ b/app/assets/javascripts/dropzone_input.js.coffee @@ -167,6 +167,7 @@ class @DropzoneInput dataType: "json" ).success (data) -> preview.html data.body + preview.syntaxHighlight() renderReferencedUsers data.references.users |