[pmwiki-users] Minor markup request

John Rankin john.rankin at affinity.co.nz
Wed Sep 21 17:20:02 CDT 2005


On Wednesday, 21 September 2005 10:16 PM, Robert Riebisch <rr at bttr-software.de> wrote:
>Hello!
>
>I'd like to see "--" transforming into "&#151;", "&ndash;" or something
>like that in standard markup. Would this be possible? :-)
>
>Robert Riebisch

The MarkupExtensions almost does this.
See http://www.wikipublisher.org/wiki/index.php?n=Wikipublisher.MarkupExtensions#toc1

Specifically: -- becomes an em dash (!) 
digit-digit becomes digitendashdigit

`- becomes an ed dash, and so on.

The reason for choosing -- for an em dash is that 
it's what people tend to write; few people write --- 
when they want an em dash. However, it can all be 
customised.

Hope this helps.
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list