From c7fea1d2c78e77654f098f9ac7409f97ad171f44 Mon Sep 17 00:00:00 2001 From: jwansek Date: Sat, 12 Mar 2022 19:50:03 +0000 Subject: switched to mistune (over misaka) for markdown parsing, added table of contents --- database.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'database.py') diff --git a/database.py b/database.py index 3dd2d9a..42833d5 100644 --- a/database.py +++ b/database.py @@ -247,6 +247,7 @@ def request_recent_commits(since = datetime.datetime.now() - datetime.timedelta( return sorted(out, key = lambda a: a["datetime"], reverse = True) if __name__ == "__main__": + import parser with Database() as db: # print(db.get_similar_thoughts("about me", 5)) - print(db.get_iso_cd_options()) \ No newline at end of file + print(parser.parse_file("cpus.md")) \ No newline at end of file -- cgit v1.2.3