aboutsummaryrefslogtreecommitdiffstats
path: root/docs/extensions
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-06-19 07:53:17 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2014-06-19 07:53:17 -0400
commit819be506a669713354a96b478b2175396fe75d9c (patch)
tree2e3e36c68de508f8b0681646ee9cbee0d663c1e9 /docs/extensions
parent51857fd458c991a10c7a9d8797ba8fb03af2f4d8 (diff)
parent2d47fcedc08973b0250d29c456609c8a687037cd (diff)
downloadmarkdown-819be506a669713354a96b478b2175396fe75d9c.tar.gz
markdown-819be506a669713354a96b478b2175396fe75d9c.tar.bz2
markdown-819be506a669713354a96b478b2175396fe75d9c.zip
Merge pull request #319 from mitya57/master
smarty: add support for angled quotes
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
---------------