Skip to content

Commit

Permalink
add extras markdown extension for new sites, added reminder to add it…
Browse files Browse the repository at this point in the history
… to default for v8
  • Loading branch information
ralsina committed May 13, 2015
1 parent d51dd9c commit 691fc61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion nikola/conf.py.in
Expand Up @@ -727,7 +727,8 @@ COMMENT_SYSTEM_ID = ${COMMENT_SYSTEM_ID}
# done in the code, hope you don't mind ;-)
# Note: most Nikola-specific extensions are done via the Nikola plugin system,
# with the MarkdownExtension class and should not be added here.
# MARKDOWN_EXTENSIONS = ['fenced_code', 'codehilite']
# The default is ['fenced_code', 'codehilite']
MARKDOWN_EXTENSIONS = ['fenced_code', 'codehilite', 'extras']

# Extra options to pass to the pandoc comand.
# by default, it's empty, is a list of strings, for example
Expand Down
2 changes: 1 addition & 1 deletion nikola/nikola.py
Expand Up @@ -387,7 +387,7 @@ def __init__(self, **config):
'LISTINGS_FOLDERS': {'listings': 'listings'},
'LOGO_URL': '',
'NAVIGATION_LINKS': {},
'MARKDOWN_EXTENSIONS': ['fenced_code', 'codehilite'],
'MARKDOWN_EXTENSIONS': ['fenced_code', 'codehilite'], # FIXME: Add 'extras' in v8
'MAX_IMAGE_SIZE': 1280,
'MATHJAX_CONFIG': '',
'OLD_THEME_SUPPORT': True,
Expand Down

0 comments on commit 691fc61

Please sign in to comment.