|
|
@ -5,6 +5,8 @@ import mimetypes |
|
|
|
import bleach |
|
|
|
import bleach |
|
|
|
from markdown_it import MarkdownIt |
|
|
|
from markdown_it import MarkdownIt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from config import * |
|
|
|
|
|
|
|
|
|
|
|
app = flask.Flask(__name__) |
|
|
|
app = flask.Flask(__name__) |
|
|
|
md = MarkdownIt("commonmark", {"typographer": True}).enable( |
|
|
|
md = MarkdownIt("commonmark", {"typographer": True}).enable( |
|
|
|
["replacements", "smartquotes"] |
|
|
|
["replacements", "smartquotes"] |
|
|
|