diff options
| author | ahmedasar00 <ahmdasartech@outlook.com> | 2025-12-18 23:06:29 +0200 |
|---|---|---|
| committer | Saptak Sengupta <saptak013@gmail.com> | 2025-12-22 13:47:37 +0530 |
| commit | 5d8e73dc1b9f747e154cd4a39a3f91c0586f018d (patch) | |
| tree | c120548c0b86540f1ec7aa74fc9694a96c57c1ac /blog | |
| parent | 46eadd90c0d72d46809646521dab55ee2dff9533 (diff) | |
Simplify Markdown tables extension usage
Diffstat (limited to 'blog')
| -rw-r--r-- | blog/models.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/blog/models.py b/blog/models.py index 790a3d2d..58e8fe59 100644 --- a/blog/models.py +++ b/blog/models.py @@ -69,8 +69,7 @@ class ContentFormat(models.TextChoices): extensions=[ # baselevel matches `initial_header_level` from BLOG_DOCUTILS_SETTINGS TocExtension(baselevel=3, slugify=_md_slugify), - "markdown.extensions.tables", - TableExtension(), + "tables", ], ) raise ValueError(f"Unsupported format {fmt}") |
