]> git.armaanb.net Git - stagit.git/commitdiff
Render tasklists.
authorDemonstrandum <moi@knutsen.co>
Thu, 6 Aug 2020 03:09:38 +0000 (04:09 +0100)
committerDemonstrandum <moi@knutsen.co>
Thu, 6 Aug 2020 03:09:38 +0000 (04:09 +0100)
highlight
requirements.txt
style.css

index 6d722bc716117c0fcfe67d6339819d65c3e998f6..61f554fa2b7e92d13dbbfdfee1922c0efb20a072 100755 (executable)
--- 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(
index a496cb5484d50e445e09b125fb0008ac0cb3a63c..9fda546a7b1c926c7e98d59a799aba2793184d48 100644 (file)
@@ -1,3 +1,4 @@
 Pygments
 markdown
+pymdown-extensions
 
index 24443959ed8b1c834479a1663a0804b767ecdaf9..cea592954acdb41b8ce5b12d3206de282363a19e 100644 (file)
--- 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%);