feat(templates): Add syntax highlighting for code via highlight.js

Includes a static distribution of highlight.js for syntax
highlighting. A sane set of languages has been chosen.
This commit is contained in:
Vincent Ambo 2018-05-18 23:28:59 +02:00 committed by Vincent Ambo
parent ab3f7d888a
commit cda66c4cd3
4 changed files with 115 additions and 0 deletions

View file

@ -9,6 +9,9 @@
<!-- Custom CSS additions -->
<style>img { max-width:100%; height:auto; }</style>
<title>Converse: {{ title | safe }}</title>
<!-- Syntax highlighting for code -->
<link rel="stylesheet" href="/static/highlight.css">
<script src="/static/highlight.js"></script>
</head>
<body>
<header>