From: Zachary Vance Date: Wed, 17 Jul 2024 21:51:35 +0000 (-0400) Subject: Better markdown conversion X-Git-Url: https://git.za3k.com/?a=commitdiff_plain;h=f4ec8613bfde9e71323b8881c325068a12a1796f;p=blog.git Better markdown conversion --- diff --git a/blog b/blog index bb7a179..ad06892 100755 --- a/blog +++ b/blog @@ -22,11 +22,11 @@ import chevron as mustache import collections import datetime import math -import markdown2 import os, os.path import re import subprocess import yaml +from markdown2html import markdown2html from pathlib import Path @@ -107,7 +107,6 @@ def scale(i1, range1, range2): i2 = frac2 * (range2.stop - range2.start) + range2.start return i2 -md2html = markdown2.markdown RELOAD_HTML = b"""