From 5687fc045c3929b34b5d912bc5adcf2a786b1a45 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Mon, 19 Mar 2012 01:20:52 +0100 Subject: Typo fix in doc: s/extension-configs/extension_configs/ --- docs/reference.txt | 4 ++-- markdown/__init__.py | 2 +- 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 -- cgit v1.2.3