Created
May 16, 2012 01:39
-
-
Save thoslin/2706626 to your computer and use it in GitHub Desktop.
django-markitup settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# django-markitup settings | |
# The MARKITUP_FILTER setting defines how markup is transformed into HTML on your site. | |
# This setting is only required if you are using MarkupField or MarkItUp! AJAX preview. | |
MARKITUP_FILTER = ('markdown.markdown', {'safe_mode': False, 'enable_attributes': True}) | |
# MarkItUp! allows the toolbar button-set to be customized in a Javascript settings file. | |
MARKITUP_SET = 'markitup/sets/markdown' | |
# MarkItUp! skins can be specified in a similar manner. | |
MARKITUP_SKIN = 'markitup/skins/simple' | |
# If set to True, the preview window will be activated by default. Defaults to False. | |
MARKITUP_AUTO_PREVIEW = True | |
JQUERY_URL = 'js/jquery.js' | |
MARKITUP_ALLOWED_TAGS = ['a', 'table', 'tr', 'td'] | |
MARKITUP_ALLOWED_ATTRIBUTES = { | |
'a': ['href', 'title'], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment