fletcher/peg-multimarkdown — Issue #110: peg MMD vs Perl MMD in HTML Output of Citations & Footnotes
Author: folo1988
Created: 2012-02-29 11:49:32+00:00
State: open

Short Question:
the old Perl MMD outputs citations and footnotes differently from peg MMD, why the change?

Longer Question:

I originally posted this issue on the Marked app support pages: http://support.markedapp.com/discussions/problems/209-marked-incorrectly-processes-mmd-citations-html

But I then learnt that it is a difference between the old Perl MMD (what I remember using on my old linux laptop) and peg MMD, which is what Marked uses.

Essentially, I seem to remember that Perl MMD would output HTML where citations and footnotes were placed in separate divs and were numbered independently of each other. But now they seem to be both put in a footnote div and numbered based on how they appeared in the MMD text. I have to say I liked the old style more, and I was wondering what the rationale was for the change?

Byword seems to come with Perl MMD, as it outputs citations and footnotes in that way. However I do prefer previewing HTML in Marked.

I appreciate that this won't be at the top of your to-do list, and perhaps I'm one of the few who prefers the old output. I also see it as a fun excuse to finally learn some XSLT so that I can tweak the HTML output to exactly what I want.

Cheers,

Johan