# Extensions Adds support for smarty pants: ## SmartyPants Quotes Converts the following character to smarty pants: ```````````````````````````````` example This is a "text" . <p>This is a “text”</p> ```````````````````````````````` ```````````````````````````````` example This is a 'text' . <p>This is a ‘text’</p> ```````````````````````````````` ```````````````````````````````` example This is a <<text>> . <p>This is a «text»</p> ```````````````````````````````` Unbalanced quotes are not changed: ```````````````````````````````` example This is a "text . <p>This is a "text</p> ```````````````````````````````` ```````````````````````````````` example This is a 'text . <p>This is a 'text</p> ```````````````````````````````` ```````````````````````````````` example This is a <<text . <p>This is a <<text</p> ```````````````````````````````` Unbalanced quotes inside other quotes are not changed: ```````````````````````````````` example This is a "text 'with" a another text' . <p>This is a “text 'with” a another text'</p> ```````````````````````````````` ```````````````````````````````` example This is 'a "text 'with" a another text' . <p>This is ‘a “text 'with” a another text’</p> ```````````````````````````````` ```````````````````````````````` example This is a 'text <<with' a another text>> . <p>This is a ‘text <<with’ a another text>></p> ```````````````````````````````` ```````````````````````````````` example This is a <<text 'with>> a another text' . <p>This is a «text 'with» a another text'</p> ```````````````````````````````` Quotes requires to have the same rules than emphasis `_` regarding left/right frankling rules: ```````````````````````````````` example It's not quotes' . <p>It's not quotes'</p> ```````````````````````````````` ```````````````````````````````` example They are ' not matching quotes ' . <p>They are ' not matching quotes '</p> ```````````````````````````````` ```````````````````````````````` example They are' not matching 'quotes . <p>They are' not matching 'quotes</p> ```````````````````````````````` An emphasis starting inside left/right quotes will span over the right quote: ```````````````````````````````` example This is "a *text" with an emphasis* . <p>This is “a <em>text” with an emphasis</em></p> ```````````````````````````````` Multiple sets of quotes can be used ```````````````````````````````` example "aaa" "bbb" "ccc" "ddd" . <p>“aaa” “bbb” “ccc” “ddd”</p> ```````````````````````````````` ## SmartyPants Separators ```````````````````````````````` example This is a -- text . <p>This is a – text</p> ```````````````````````````````` ```````````````````````````````` example This is a --- text . <p>This is a — text</p> ```````````````````````````````` ```````````````````````````````` example This is a en ellipsis... . <p>This is a en ellipsis…</p> ```````````````````````````````` Check that a smartypants are not breaking pipetable parsing: ```````````````````````````````` example a | b -- | -- 0 | 1 . <table> <thead> <tr> <th>a</th> <th>b</th> </tr> </thead> <tbody> <tr> <td>0</td> <td>1</td> </tr> </tbody> </table> ```````````````````````````````` Check quotes and dash: ```````````````````````````````` example A "quote" with a --- . <p>A “quote” with a —</p> ````````````````````````````````