From 259f7e5550f14ff665ccf679182906311c4e954a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= Date: Sat, 15 Feb 2014 19:49:52 +0100 Subject: docs: update smarty documentation --- docs/extensions/smarty.txt | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) (limited to 'docs/extensions') diff --git a/docs/extensions/smarty.txt b/docs/extensions/smarty.txt index 84c6494..3cef11a 100644 --- a/docs/extensions/smarty.txt +++ b/docs/extensions/smarty.txt @@ -21,31 +21,22 @@ ASCII symbol | Unicode replacements \-- | – -\-- | — -Arguments ---------- - -All three arguments are set to `True` by default. - -Argument | Description --------- | ----------- -`smart_dashes` | whether to convert dashes -`smart_quotes` | whether to convert quotes -`smart_ellipses` | whether to convert ellipses - Usage ----- -Default configuration: +See [Extensions](index.html) for general extension usage, specify `smarty` +as the name of the extension. - >>> html = markdown.markdown(text, - ... extensions=['smarty'] - ... ) +See the [Library Reference](../reference.html#extensions) for information about +configuring extensions. -Disable quotes convertation: +The following options are provided to configure the output (all three are set to `True` by default): - >>> html = markdown.markdown(text, - ... extensions=['smarty(smart_quotes=False)'] - ... ) +Option | Description +------ | ----------- +`smart_dashes` | whether to convert dashes +`smart_quotes` | whether to convert quotes +`smart_ellipses` | whether to convert ellipses Further reading --------------- -- cgit v1.2.3