main
km0 2 years ago
parent cc2b48e3f0
commit a7e7fc7bc6

@ -6,6 +6,7 @@ from dotenv import load_dotenv
from flask import (Flask, redirect, render_template, request, from flask import (Flask, redirect, render_template, request,
send_from_directory, url_for) send_from_directory, url_for)
from markdown import markdown from markdown import markdown
import yafg
from datetime import datetime from datetime import datetime
from prefix import PrefixMiddleware from prefix import PrefixMiddleware
@ -38,7 +39,8 @@ def render():
"markdown.extensions.codehilite", "markdown.extensions.codehilite",
"markdown.extensions.fenced_code", "markdown.extensions.fenced_code",
"markdown.extensions.admonition", "markdown.extensions.admonition",
"markdown.extensions.abbr" "markdown.extensions.abbr",
yafg.YafgExtension(stripTitle=False)
], ],
# extension_configs={ # extension_configs={
# 'markdown.extensions.codehilite': { # 'markdown.extensions.codehilite': {

Loading…
Cancel
Save