Extended glyphs in Markdown via Smartypants

andy's Avatar

andy

05 Feb, 2010 01:37 PM via web

Hi,

Is there any chance of squeezing Smartypants into Perch to add support for characters such as em-dashes and ampersands?

Markdown rocks, but unforunately it doesn't natively support HTML entities such as — which means that content creators are unable to use a broad range of punctuation marks.

Michel Fontin has ported Dan Gruber's Smartypants to PHP -- PHP Smartypants.

Keeping my fingers crossed,

Andy.

  1. Support Staff 2 Posted by Drew McLellan on 05 Feb, 2010 01:40 PM

    Drew McLellan's Avatar

    Is Smartypants an alternative to or an extension of Markdown?

  2. 3 Posted by andy on 05 Feb, 2010 01:44 PM

    andy's Avatar

    Smartypants extends Markdown.

  3. Support Staff 4 Posted by Drew McLellan on 05 Feb, 2010 01:54 PM

    Drew McLellan's Avatar

    Ok, thanks, we'll take a look.

  4. 5 Posted by andy on 05 Feb, 2010 01:58 PM

    andy's Avatar

    Excellent :)

    I'm really impressed with your responsiveness.

    Many thanks,

    Andy.

  5. 6 Posted by ice on 09 Mar, 2010 05:25 PM

    ice's Avatar

    I'd like to echo the request for Smartypants support. Having my site populated with dumb quotes and hyphens is unappealing, to say the least.

    An alternative would be to use Pandoc, which extends Markdown -- builds in Smartypants, adds syntax for tables, footnotes, and other cool stuff.

    Just bought Perch and it's kicking ass so far!

  6. Support Staff 7 Posted by Drew McLellan on 09 Mar, 2010 05:34 PM

    Drew McLellan's Avatar

    We're currently looking into this with a view of adding it in v1.5

Reply to this discussion

Internal reply

Formatting help or Preview

Attached Files

You can attach files up to 10MB

What is the opposite of down?

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.