Fix renderer list and enable markdown tables

- Fix get_user_renderers usage (returns strings not dicts)
- Enable tables and fenced_code markdown extensions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
giles
2026-01-11 13:20:47 +00:00
parent 0a15b2532e
commit dcb487e6f4
2 changed files with 8 additions and 6 deletions

View File

@@ -149,7 +149,7 @@ async def home(request: Request):
from pathlib import Path
readme_path = Path(__file__).parent.parent.parent / "README.md"
if readme_path.exists():
readme_html = markdown.markdown(readme_path.read_text())
readme_html = markdown.markdown(readme_path.read_text(), extensions=['tables', 'fenced_code'])
except Exception:
pass