aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/content/base.html
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-08-13 22:49:36 +0200
committerGravatar Hassan Abouelela <[email protected]>2022-08-13 22:49:36 +0200
commit95da22074e6f2c7b2425ccca75cd25f9ef5596fb (patch)
tree1031b796ac400102e63acafa8e21d1de76fe3c66 /pydis_site/templates/content/base.html
parentClean Up Tag Link Substitution (diff)
Enable Code Highlighting On All Content Pages
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'pydis_site/templates/content/base.html')
-rw-r--r--pydis_site/templates/content/base.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/pydis_site/templates/content/base.html b/pydis_site/templates/content/base.html
index dbd303a1..2fd721a3 100644
--- a/pydis_site/templates/content/base.html
+++ b/pydis_site/templates/content/base.html
@@ -8,6 +8,10 @@
<meta property="og:description" content="{{ page_description }}" />
<link rel="stylesheet" href="{% static "css/content/page.css" %}">
<link rel="stylesheet" href="{% static "css/collapsibles.css" %}">
+ <link rel="stylesheet"
+ href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.1/styles/atom-one-dark.min.css">
+ <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.1/highlight.min.js"></script>
+ <script>hljs.highlightAll();</script>
<script src="{% static "js/collapsibles.js" %}"></script>
{% endblock %}