Enable markdown tables and fenced_code extensions
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -28,7 +28,7 @@ async def home(request: Request):
|
|||||||
try:
|
try:
|
||||||
readme_path = Path(__file__).parent.parent.parent / "README.md"
|
readme_path = Path(__file__).parent.parent.parent / "README.md"
|
||||||
if readme_path.exists():
|
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:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user