aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2012-03-19 01:20:52 +0100
committerSimon Sapin <simon.sapin@exyr.org>2012-03-19 01:20:52 +0100
commit5687fc045c3929b34b5d912bc5adcf2a786b1a45 (patch)
tree6fec87967a70e9924896a63f2714f6f8a0fb084a
parent371a637d37cac629818cf4d618299ccfcbbbc1d0 (diff)
downloadmarkdown-5687fc045c3929b34b5d912bc5adcf2a786b1a45.tar.gz
markdown-5687fc045c3929b34b5d912bc5adcf2a786b1a45.tar.bz2
markdown-5687fc045c3929b34b5d912bc5adcf2a786b1a45.zip
Typo fix in doc: s/extension-configs/extension_configs/
-rw-r--r--docs/reference.txt4
-rw-r--r--markdown/__init__.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/reference.txt b/docs/reference.txt
index b051e92..603200b 100644
--- a/docs/reference.txt
+++ b/docs/reference.txt
@@ -69,12 +69,12 @@ The following options are available on the `markdown.markdown` function:
`extensions=['extra']` will first look for the module
`markdown.extensions.extra`, then a module named `mdx_extra`.
-* __`extension-configs`__{: #extension_configs }: A dictionary of
+* __`extension_configs`__{: #extension_configs }: A dictionary of
configuration settings for extensions.
The dictionary must be of the following format:
- extension-configs = {'extension_name_1':
+ extension_configs = {'extension_name_1':
[
('option_1', 'value_1'),
('option_2', 'value_2')
diff --git a/markdown/__init__.py b/markdown/__init__.py
index f259615..3100901 100644
--- a/markdown/__init__.py
+++ b/markdown/__init__.py
@@ -86,7 +86,7 @@ class Markdown:
If they are of type string, the module mdx_name.py will be loaded.
If they are a subclass of markdown.Extension, they will be used
as-is.
- * extension-configs: Configuration settingis for extensions.
+ * extension_configs: Configuration settingis for extensions.
* output_format: Format of output. Supported formats are:
* "xhtml1": Outputs XHTML 1.x. Default.
* "xhtml5": Outputs XHTML style tags of HTML 5