From: Demonstrandum Date: Thu, 6 Aug 2020 03:09:38 +0000 (+0100) Subject: Render tasklists. X-Git-Url: https://git.armaanb.net/?p=stagit.git;a=commitdiff_plain;h=145ebde8e40025a0923a7e0ea7d9addfb9815b30 Render tasklists. --- 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%);