diff options
author | Jakub Klinkovský <j.l.k@gmx.com> | 2014-02-15 19:49:52 +0100 |
---|---|---|
committer | Jakub Klinkovský <j.l.k@gmx.com> | 2014-02-15 19:49:52 +0100 |
commit | 259f7e5550f14ff665ccf679182906311c4e954a (patch) | |
tree | 9dd502b954cb1c37fd424d6e1dca839d73b1afee /docs/extensions | |
parent | c030fb27166712f32971ecbeaa56f1c3e4c821f8 (diff) | |
download | markdown-259f7e5550f14ff665ccf679182906311c4e954a.tar.gz markdown-259f7e5550f14ff665ccf679182906311c4e954a.tar.bz2 markdown-259f7e5550f14ff665ccf679182906311c4e954a.zip |
docs: update smarty documentation
Diffstat (limited to 'docs/extensions')
-rw-r--r-- | docs/extensions/smarty.txt | 29 |
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 \-- | – -\-- | — -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 --------------- |