aboutsummaryrefslogtreecommitdiffstats
path: root/docs/extensions
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2014-06-18 21:15:55 +0400
committerDmitry Shachnev <mitya57@gmail.com>2014-06-19 09:32:32 +0400
commit2d47fcedc08973b0250d29c456609c8a687037cd (patch)
tree2e3e36c68de508f8b0681646ee9cbee0d663c1e9 /docs/extensions
parent51857fd458c991a10c7a9d8797ba8fb03af2f4d8 (diff)
downloadmarkdown-2d47fcedc08973b0250d29c456609c8a687037cd.tar.gz
markdown-2d47fcedc08973b0250d29c456609c8a687037cd.tar.bz2
markdown-2d47fcedc08973b0250d29c456609c8a687037cd.zip
smarty: add support for angled quotes
See <http://en.wikipedia.org/wiki/Guillemet>.
Diffstat (limited to 'docs/extensions')
-rw-r--r--docs/extensions/smarty.txt24
1 files changed, 13 insertions, 11 deletions
diff --git a/docs/extensions/smarty.txt b/docs/extensions/smarty.txt
index b96b82e..56e9bd5 100644
--- a/docs/extensions/smarty.txt
+++ b/docs/extensions/smarty.txt
@@ -15,11 +15,12 @@ their HTML entity equivalents.
ASCII symbol | Replacements | HTML Entities
------------ | --------------- | -------------------
-&#39; | &lsquo; &rsquo; | `&lsquo;` `&rsquo;`
-&quot; | &ldquo; &rdquo; | `&ldquo;` `&rdquo;`
-\... | &hellip; | `&hellip;`
-\-- | &ndash; | `&ndash;`
--\-- | &mdash; | `&mdash;`
+`'` | &lsquo; &rsquo; | `&lsquo;` `&rsquo;`
+`"` | &ldquo; &rdquo; | `&ldquo;` `&rdquo;`
+`<< >>` | &laquo; &raquo; | `&laquo;` `&raquo;`
+`...` | &hellip; | `&hellip;`
+`--` | &ndash; | `&ndash;`
+`---` | &mdash; | `&mdash;`
!!! note
This extension reimplements the Python [SmartyPants]
@@ -42,13 +43,14 @@ as the name of the extension.
See the [Library Reference](../reference.html#extensions) for information about
configuring extensions.
-The following options are provided to configure the output (all three are set to `True` by default):
+The following options are provided to configure the output:
-Option | Description
------- | -----------
-`smart_dashes` | whether to convert dashes
-`smart_quotes` | whether to convert quotes
-`smart_ellipses` | whether to convert ellipses
+Option | Default value | Description
+------ | ------------- | -----------
+`smart_dashes` | enabled | whether to convert dashes
+`smart_quotes` | enabled | whether to convert straight quotes
+`smart_angled_quotes` | disabled | whether to convert angled quotes
+`smart_ellipses` | enabled | whether to convert ellipses
Further reading
---------------