|
@@ -1,4 +1,5 @@
|
|
|
-from .set_mark.namumark import namumark, link_fix
|
|
|
|
|
|
|
+from .set_mark.namumark import namumark
|
|
|
|
|
+from .set_mark.markdown import markdown
|
|
|
|
|
|
|
|
from .set_mark.tool import *
|
|
from .set_mark.tool import *
|
|
|
|
|
|
|
@@ -49,6 +50,8 @@ def render_do(title, data, num, include):
|
|
|
rep_data = curs.fetchall()
|
|
rep_data = curs.fetchall()
|
|
|
if rep_data[0][0] == 'namumark':
|
|
if rep_data[0][0] == 'namumark':
|
|
|
data = namumark(conn, data, title, include)
|
|
data = namumark(conn, data, title, include)
|
|
|
|
|
+ elif rep_data[0][0] == 'markdown':
|
|
|
|
|
+ data = markdown(conn, data, title, include)
|
|
|
elif rep_data[0][0] == 'custom':
|
|
elif rep_data[0][0] == 'custom':
|
|
|
data = custom_mark(conn, data, title, include)
|
|
data = custom_mark(conn, data, title, include)
|
|
|
elif rep_data[0][0] == 'raw':
|
|
elif rep_data[0][0] == 'raw':
|