From 145ebde8e40025a0923a7e0ea7d9addfb9815b30 Mon Sep 17 00:00:00 2001 From: Demonstrandum Date: Thu, 6 Aug 2020 04:09:38 +0100 Subject: [PATCH] Render tasklists. --- highlight | 3 ++- requirements.txt | 1 + style.css | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/highlight b/highlight index 6d722bc..61f554f 100755 --- 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 index a496cb5..9fda546 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ Pygments markdown +pymdown-extensions diff --git a/style.css b/style.css index 2444395..cea5929 100644 --- 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%); -- 2.39.2