aboutsummaryrefslogtreecommitdiffstats
path: root/docs/extensions/smarty.txt
diff options
context:
space:
mode:
authorMartin Altmayer <altmayer@posteo.de>2014-08-15 15:47:35 +0200
committerMartin Altmayer <altmayer@posteo.de>2014-08-15 15:47:35 +0200
commite7b6a33f0e3dd37d276a0c18dcbdc62e2c80ed98 (patch)
tree7a39c2ac013a6fc55157cb3b9b6b0b7dbe0e3a7e /docs/extensions/smarty.txt
parente90687e8520630e97cd47c725a6438ca1ca83c91 (diff)
downloadmarkdown-e7b6a33f0e3dd37d276a0c18dcbdc62e2c80ed98.tar.gz
markdown-e7b6a33f0e3dd37d276a0c18dcbdc62e2c80ed98.tar.bz2
markdown-e7b6a33f0e3dd37d276a0c18dcbdc62e2c80ed98.zip
Renamed 'smart_substitutions' option to 'substitutions'. Fixed a typo.
Diffstat (limited to 'docs/extensions/smarty.txt')
-rw-r--r--docs/extensions/smarty.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/extensions/smarty.txt b/docs/extensions/smarty.txt
index 1c21d50..1f14fc7 100644
--- a/docs/extensions/smarty.txt
+++ b/docs/extensions/smarty.txt
@@ -22,7 +22,7 @@ ASCII symbol | Replacements | HTML Entities
`--` | &ndash; | `&ndash;`
`---` | &mdash; | `&mdash;`
-Using the configuration option 'smart_substitutions' you can overwrite the
+Using the configuration option 'substitutions' you can overwrite the
default substitutions. Just pass a dict mapping (a subset of) the following
keys to the substitution strings.
@@ -34,7 +34,7 @@ keys to the substitution strings.
Use e.g. the following config to get correct quotes for the German language:
extensionConfigs = {
- 'smarty': [('smart_substitutions', {
+ 'smarty': [('substitutions', {
'left-single-quote': '&sbquo;', # sb is not a typo!
'right-single-quote': '&lsquo;',
'left-double-quote': '&bdquo;',
@@ -71,7 +71,7 @@ Option | Default value | Description
`smart_quotes` | enabled | whether to convert straight quotes
`smart_angled_quotes` | disabled | whether to convert angled quotes
`smart_ellipses` | enabled | whether to convert ellipses
-`smart_substitutions` | {} | Overwrite default substitutions
+`substitutions` | {} | overwrite default substitutions
Further reading
---------------