Skip to content
Permalink
Browse files
add extras markdown extension for new sites, added reminder to add it…
… to default for v8
  • Loading branch information
ralsina committed May 13, 2015
1 parent d51dd9c commit 691fc612dcfc4f6d7a85b4e0131516fcb4d7ed28
Showing with 3 additions and 2 deletions.
  1. +2 −1 nikola/conf.py.in
  2. +1 −1 nikola/nikola.py
@@ -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
@@ -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,

0 comments on commit 691fc61

Please sign in to comment.