aboutsummaryrefslogtreecommitdiffstats
path: root/docs/extensions/smarty.txt
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2014-02-16 08:53:16 -0500
committerWaylan Limberg <waylan@gmail.com>2014-02-16 08:53:16 -0500
commit9a03243ff51ce2e868cfd2de713d7de6ae84140e (patch)
tree9c81612ef756024dd205022d250fc65e2e11eb3a /docs/extensions/smarty.txt
parentfefe904ca9175ab390a8a0868e810a41945cdd8f (diff)
parentaff7cabd5fa16daff866c06e056804d3f6f42500 (diff)
downloadmarkdown-9a03243ff51ce2e868cfd2de713d7de6ae84140e.tar.gz
markdown-9a03243ff51ce2e868cfd2de713d7de6ae84140e.tar.bz2
markdown-9a03243ff51ce2e868cfd2de713d7de6ae84140e.zip
Merge pull request #288 from lahwaacz/master
docs: improved documentation
Diffstat (limited to 'docs/extensions/smarty.txt')
-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
---------------