Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Abbreviation definitions like PHP Markdown Extra #167

jgm opened this Issue · 7 comments

5 participants

I'd like to see Pandoc markdown supporting the 
<abbr> syntax of PHP Markdown Extra:

> PHP Markdown Extra adds supports for abbreviations
> (HTML tag <abbr>). How it works is pretty simple:
> create an abbreviation definition like this:
> *[HTML]: Hyper Text Markup Language
> *[W3C]:  World Wide Web Consortium

Of course I'd like support for class tags as per
above in such a definition too.  One may want to
differentiate abbreviations and acronyms, and
since HTML 5 is to drop the <acronym> tag an
acronym *class* would be useful!

Google Code Info:
Issue #: 196
Author: bpjonsson
Created On: 2010-01-07T13:57:02.000Z
Closed On: 
@jgm jgm was assigned

Yes, I'd like to give this one a +1, as I'm looking at latex output and wishing it'd at least be output as \textsc{ma}. This might be a little overkill:

HTML is of course straight-forward, as it already supports acronyms.


John - as I'm reminded about this again, just checking: do you support this enhancement request in principle?

jgm commented

I'm wary of this, as it would significantly slow down parsing. (Each string parsed would have to be looked up in the acronym table.)

jgm commented

Would it not be possible to simply pass turning on acronym parsing as a command-line flag? I think people who would benefit from it would not be all that upset in the slowdown involved, and those that don't need it would never know!


also as in kramdown (don't know if there is special syntax there that might help the performance issue, but personally I like cflewis' idea of letting it be transparent via a CL switch

also found this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.