mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-18 22:44:24 +01:00
Switch to only commonmark for now
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import cmarkgfm
|
import cmarkgfm
|
||||||
|
from cmarkgfm.cmark import Options as MarkdownOptions
|
||||||
import six
|
import six
|
||||||
from flask import current_app as app
|
from flask import current_app as app
|
||||||
|
|
||||||
@@ -13,7 +14,7 @@ else:
|
|||||||
text_type = str
|
text_type = str
|
||||||
binary_type = bytes
|
binary_type = bytes
|
||||||
|
|
||||||
markdown = cmarkgfm.github_flavored_markdown_to_html
|
markdown = cmarkgfm.markdown_to_html
|
||||||
|
|
||||||
|
|
||||||
def get_app_config(key, default=None):
|
def get_app_config(key, default=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user