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:
parent
ab3f7d888a
commit
cda66c4cd3
4 changed files with 115 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue