commit 145ebde8e40025a0923a7e0ea7d9addfb9815b30
parent e19dc35227aef15b3aa35636e039e08bb7e1018a
Author: Demonstrandum <moi@knutsen.co>
Date: Thu, 6 Aug 2020 04:09:38 +0100
Render tasklists.
Diffstat:
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/highlight b/highlight
@@ -31,7 +31,8 @@ if lexer.__class__ is pygments.lexers.MarkdownLexer:
'codehilite',
'extra',
'sane_lists',
- 'smarty'
+ 'smarty',
+ 'pymdownx.tasklist'
])
FORMAT = HtmlFormatter(
diff --git a/requirements.txt b/requirements.txt
@@ -1,3 +1,4 @@
Pygments
markdown
+pymdown-extensions
diff --git a/style.css b/style.css
@@ -100,6 +100,10 @@ article.markup h6 {
font-size: 1em;
}
+article img {
+ max-width: 100%;
+}
+
.linenos {
margin-right: 0;
border-right: 1px solid rgb(0 0 0 / 8%);