aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJakub Klinkovský <j.l.k@gmx.com>2014-02-15 19:49:52 +0100
committerJakub Klinkovský <j.l.k@gmx.com>2014-02-15 19:49:52 +0100
commit259f7e5550f14ff665ccf679182906311c4e954a (patch)
tree9dd502b954cb1c37fd424d6e1dca839d73b1afee /docs
parentc030fb27166712f32971ecbeaa56f1c3e4c821f8 (diff)
downloadmarkdown-259f7e5550f14ff665ccf679182906311c4e954a.tar.gz
markdown-259f7e5550f14ff665ccf679182906311c4e954a.tar.bz2
markdown-259f7e5550f14ff665ccf679182906311c4e954a.zip
docs: update smarty documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/extensions/smarty.txt29
1 files changed, 10 insertions, 19 deletions
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
\-- | &ndash;
-\-- | &mdash;
-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
---------------