aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/core.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2015-03-29 23:00:30 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2018-07-24 11:40:13 -0400
commitee54678185234f01d3de6a6334f30c9bb3417783 (patch)
treed72e6bde812a59b6615b1b33ef878263ed6f5cc7 /markdown/core.py
parent727adc8a053402d3e9a38424ff67bde697674156 (diff)
downloadmarkdown-ee54678185234f01d3de6a6334f30c9bb3417783.tar.gz
markdown-ee54678185234f01d3de6a6334f30c9bb3417783.tar.bz2
markdown-ee54678185234f01d3de6a6334f30c9bb3417783.zip
Moved enable_attributes keyword to extension: legacy_attrs.
If you have existing documents that use the legacy attributes format, then you should enable the legacy_attrs extension for those documents. Everyone is encouraged to use the attr_list extension going forward. Closes #643. Work adapted from 0005d7a of the md3 branch.
Diffstat (limited to 'markdown/core.py')
-rw-r--r--markdown/core.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/markdown/core.py b/markdown/core.py
index f4111e4..0fcf71d 100644
--- a/markdown/core.py
+++ b/markdown/core.py
@@ -27,7 +27,6 @@ class Markdown(object):
option_defaults = {
'tab_length': 4,
- 'enable_attributes': True,
'smart_emphasis': True,
'lazy_ol': True,
}
@@ -53,7 +52,6 @@ class Markdown(object):
* "xhtml": Outputs XHTML style tags. Default.
* "html": Outputs HTML style tags.
* tab_length: Length of tabs in the source. Default: 4
- * enable_attributes: Enable the conversion of attributes. Default: True
* smart_emphasis: Treat `_connected_words_` intelligently Default: True
* lazy_ol: Ignore number of first item of ordered lists. Default: True