diff options
Diffstat (limited to 'docs/extensions/smarty.txt')
-rw-r--r-- | docs/extensions/smarty.txt | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/docs/extensions/smarty.txt b/docs/extensions/smarty.txt index 3cef11a..b96b82e 100644 --- a/docs/extensions/smarty.txt +++ b/docs/extensions/smarty.txt @@ -13,13 +13,25 @@ Summary The SmartyPants extension converts ASCII dashes, quotes and ellipses to their HTML entity equivalents. -ASCII symbol | Unicode replacements ------------- | -------------------- -' | ‘ ’ -" | “ ” -\... | … -\-- | – --\-- | — +ASCII symbol | Replacements | HTML Entities +------------ | --------------- | ------------------- +' | ‘ ’ | `‘` `’` +" | “ ” | `“` `”` +\... | … | `…` +\-- | – | `–` +-\-- | — | `—` + +!!! note + This extension reimplements the Python [SmartyPants] + library by intregated it into the markdown parser. + While this does not provide any additional features, + it does offer a few advantages. Notably, it will not + try to work on highlighted code blocks (using the + [CodeHilite] Extension) like the third party library + has been known to do. + +[SmartyPants]: http://pythonhosted.org/smartypants/ +[CodeHilite]: code_hilite.html Usage ----- |