SmartSymbols
概观
SmartSymbols adds syntax for creating special characters such as trademarks, arrows, fractions, etc. It basically allows for more "smarty-pants" like replacements. It is meant to be used along side Python Markdown's smarty
extension not to replace.
Markdown |
Result |
(tm) |
™ |
(c) |
© |
(r) |
® |
c/o |
℅ |
+/- |
± |
--> |
→ |
<-- |
← |
<--> |
↔ |
=/= |
≠ |
1/4, etc. |
¼, etc. |
1st 2nd etc. |
1st 2nd etc. |
选项
Option |
Type |
Default |
Description |
trademark |
bool |
True |
Add syntax for trademark symbol. |
copyright |
bool |
True |
Add syntax for copyright symbol. |
registered |
bool |
True |
Add syntax for registered symbol. |
care_of |
bool |
True |
Add syntax for care / of. |
plusminus |
bool |
True |
Add syntax for plus / minus. |
arrows |
bool |
True |
Add syntax for creating arrows. |
notequal |
bool |
True |
Add syntax for not equal symbol. |
fractions |
bool |
True |
Add syntax for common fractions. |
ordinal_numbers |
bool |
True |
Add syntax for ordinal numbers. |