aboutsummaryrefslogtreecommitdiff
path: root/templates/show_paste.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_paste.html')
-rw-r--r--templates/show_paste.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/show_paste.html b/templates/show_paste.html
index 1c42e99..89ad18e 100644
--- a/templates/show_paste.html
+++ b/templates/show_paste.html
@@ -29,4 +29,13 @@
{% endif %}
</dl>
<div class=code><pre>{{ paste.code }}</pre></div>
+ <link rel="stylesheet" href="//cdn.jsdelivr.net/highlight.js/9.1.0/styles/default.min.css">
+ <script src="//cdn.jsdelivr.net/highlight.js/9.1.0/highlight.min.js"></script>
+ <script>
+ $(document).ready(function() {
+ $('pre').each(function(i, block) {
+ hljs.highlightBlock(block);
+ });
+ });
+ </script>
{% endblock %}
bgstack15