fix: ship the real DTD in the Pelican plugin

This commit is contained in:
randogoth 2026-10-11 20:55:07 +03:00
parent f54d350216
commit 884300f3cf
8 changed files with 483 additions and 74 deletions

View file

@ -21,7 +21,15 @@ THEME = TESTS / "theme"
BASE_SETTINGS = {
"ARTICLE_PATHS": [],
"MARKDOWN": {"output_format": "xhtml"},
# Tables and definition lists are both in the Mews subset, and both need
# an extension turned on before python-markdown will emit them.
"MARKDOWN": {
"output_format": "xhtml",
"extension_configs": {
"markdown.extensions.tables": {},
"markdown.extensions.def_list": {},
},
},
"PAGE_PATHS": ["pages"],
"PAGE_SAVE_AS": "{slug}.xhtml",
"PAGE_URL": "{slug}.xhtml",