From 691d2918e7e9b23dfd9e98e78caa2b0ad611d690 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 20 Aug 2014 15:02:28 -0400 Subject: Update lib reference docs to reflect that extension_configs accepts dicts. Related to #325 --- docs/reference.txt | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/reference.txt b/docs/reference.txt index 1b2ef11..033b658 100644 --- a/docs/reference.txt +++ b/docs/reference.txt @@ -123,16 +123,20 @@ The following options are available on the `markdown.markdown` function: The dictionary of configuration settings must be in the following format: - extension_configs = {'extension_name_1': - [ - ('option_1', 'value_1'), - ('option_2', 'value_2') - ], - 'extension_name_2': - [ - ('option_1', 'value_1') - ] - } + extension_configs = + { + 'extension_name_1': + { + 'option_1': 'value_1', + 'option_2': 'value_2' + }, + { + 'extension_name_2': + { + 'option_1': 'value_1' + } + } + See the documentation specific to the extension you are using for help in specifying configuration settings for that extension. -- cgit v1.2.3