aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/_highlight.twig
diff options
context:
space:
mode:
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-07-22 20:17:15 +0300
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-07-22 20:17:15 +0300
commit9f8541ef2a9dc670ca75fb452c0930e1afa4a8f6 (patch)
tree452ae2a0b240068e8fbf8ba158d43b3389cea383 /themes/default/_highlight.twig
parent5594d7d05469bcff2a046a99d49990bd63a6fd4f (diff)
downloadwallabag-9f8541ef2a9dc670ca75fb452c0930e1afa4a8f6.tar.gz
wallabag-9f8541ef2a9dc670ca75fb452c0930e1afa4a8f6.tar.zst
wallabag-9f8541ef2a9dc670ca75fb452c0930e1afa4a8f6.zip
highlight.js library added to highlight programming code examples in article view
Diffstat (limited to 'themes/default/_highlight.twig')
-rwxr-xr-xthemes/default/_highlight.twig4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/default/_highlight.twig b/themes/default/_highlight.twig
new file mode 100755
index 00000000..cdb7c6bf
--- /dev/null
+++ b/themes/default/_highlight.twig
@@ -0,0 +1,4 @@
1 {# include excelent highlight.js library for code highligting, see http://highlightjs.org/ #}
2<link rel="stylesheet" href="{{ poche_url }}themes/default/highlightjs/styles/github.css">
3<script src="{{ poche_url }}themes/default/highlightjs/highlight.pack.js"></script>
4<script>hljs.initHighlightingOnLoad();</script>