Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b6be4ad

Browse files
committed
enable CodeHilite for markdown
1 parent be59486 commit b6be4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

element/plugins/formatter/formatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Formatter(object):
66
def format(self, content, formatter='markdown'):
77

88
if formatter == 'markdown':
9-
return markdown.markdown(content, ['tables'])
9+
return markdown.markdown(content, ['tables', 'codehilite'])
1010

1111
elif formatter in ['rst', 'sphinx']:
1212
parts = publish_parts(content, writer_name='html', settings_overrides={

0 commit comments

Comments
 (0)