Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Abbreviation definitions like PHP Markdown Extra #167

Open
jgm opened this Issue · 7 comments

5 participants

@jgm
Owner
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
@bdarcus

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:

http://staff.science.uva.nl/~polko/HOWTO/LATEX/acronym.html

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

@bdarcus

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

@jgm
Owner
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.)

@bdarcus
@jgm
Owner
jgm commented
@cflewis

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!

@hansbkk

+1
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 https://code.google.com/p/pandoc/issues/detail?id=196
and http://www.blaenkdenum.com/posts/the-switch-to-hakyll/

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.