diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-01-08 11:52:57 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-01-09 14:20:09 +0100 |
commit | 9a8b7e8e98f0902758922a0e5f9c021475ccabc0 (patch) | |
tree | c7c95dc6a8262e97f050ec217aebc543232fbf89 /qutebrowser/html | |
parent | 3caad720b119f76a057591eaac18be0fe89a56e1 (diff) | |
download | qutebrowser-9a8b7e8e98f0902758922a0e5f9c021475ccabc0.tar.gz qutebrowser-9a8b7e8e98f0902758922a0e5f9c021475ccabc0.zip |
Make pygments dependency optional
Closes #5555
Diffstat (limited to 'qutebrowser/html')
-rw-r--r-- | qutebrowser/html/pre.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qutebrowser/html/pre.html b/qutebrowser/html/pre.html index cfcfad359..5fb9c7f40 100644 --- a/qutebrowser/html/pre.html +++ b/qutebrowser/html/pre.html @@ -1,6 +1,9 @@ {% extends "base.html" %} {% block content %} {{ super() }} +{% if preamble is defined %} + <p>{{ preamble }}</p> +{% endif %} <pre> {{ content }} </pre> |