From f268de0b7ef7b90e5ed4df5c9e81e641962daece Mon Sep 17 00:00:00 2001 From: "Arjun G. Menon" Date: Thu, 19 Sep 2024 03:25:18 -0400 Subject: [PATCH] Use mdx-breakless-lists, etc. --- alteza/fs.py | 4 +++- requirements.txt | 7 +++++++ setup.py | 2 ++ test_content/sectionK/sectionM/joyful-squirrel.md | 2 ++ 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/alteza/fs.py b/alteza/fs.py index cc78247..94cea04 100644 --- a/alteza/fs.py +++ b/alteza/fs.py @@ -350,7 +350,9 @@ def processMarkdown(text: str) -> Result: "admonition", "codehilite", "meta", - "sane_lists", + "mdx_breakless_lists", + # "sane_lists", + "mdx_truly_sane_lists", "smarty", # not sure "toc", ] diff --git a/requirements.txt b/requirements.txt index e29ac6b..bfc074f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,6 +9,13 @@ colored==2.2.4 docstring-parser==0.15 # via typed-argument-parser markdown==3.6 + # via + # alteza (setup.py) + # mdx-breakless-lists + # mdx-truly-sane-lists +mdx-breakless-lists==1.0.1 + # via alteza (setup.py) +mdx-truly-sane-lists==1.3 # via alteza (setup.py) mypy-extensions==1.0.0 # via typing-inspect diff --git a/setup.py b/setup.py index 6ce0120..e1396f4 100644 --- a/setup.py +++ b/setup.py @@ -17,6 +17,8 @@ # Standard dependencies: "pypage >= 2.1.0", "markdown >= 3.6", + "mdx-breakless-lists >= 1.0.1", + "mdx_truly_sane_lists >= 1.3", "pygments >= 2.16.1", "pyyaml >= 6.0.1", "colored >= 2.2.4", diff --git a/test_content/sectionK/sectionM/joyful-squirrel.md b/test_content/sectionK/sectionM/joyful-squirrel.md index 873fd4f..32e76e5 100644 --- a/test_content/sectionK/sectionM/joyful-squirrel.md +++ b/test_content/sectionK/sectionM/joyful-squirrel.md @@ -11,7 +11,9 @@ Want to learn about a [magic turtle]({{link("magic-turtle")}})? This is [what a "megabyte" is]({{link("just_a_test")}}). This page was started on {{getIdeaDate("%B %-d, %Y")}}. +* We got this from git history. This page was last modified on {{getLastModified()}}. +- We got this from git history as well. Back [home](..).