Introducing SmartType Mango Blog Plugin
August 21 2008 by
Adam
Last night I quickly threw together a Mango Blog plugin for something I've wanted ever since leaving WordPress: Smart Dashes. Since it was possible with the component I was implementing, I also added conversion of elipses.
I can't take any credit for any of the difficult parts of this; all I did was wrap Seb's Code in a Mango plugin.
From the project page:
SmartType Mango Blog Plugin is a simple implementation of Seb Duggan's SmartType ColdFusion Component to prettify post and page content and titles. It implements his replacement for elipses (... as …) and en and em dashes (- as – and -- or --- as —). Folks who have used WordPress in the past should be familiar with this behavior, except that I'm not changing single or double quotes. That was one of the things I hated about WordPress, because it always messed up my code samples.
If you want to include in an elipses, single dash, or set of dashes, without it being replaced, preceed it with a back-slash: \
Download it here: SmartType Mango Blog Plugin 0.1
Install Instructions:
- Unzip to the components/plugins/user/ folder
- Activate in the Add-ons section of your Mango Blog Admin
- There is no step 3.
Posted in My projects | Mango |
2 comments
Aug 27, 2008 at 6:54 PM
Hey Adam, Another great plugin for Mango! Man your on a roll! This will come in handy for sure!
Oct 14, 2008 at 3:53 PM
Adam: SmartType should be clever enough to leave any code samples alone...
Anything contained in pre, code, kbd, script or math tags will not be altered.