bobtfish / text-multimarkdown
- Source
- Commits
- Network (3)
- Issues (5)
- Downloads (26)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
Multiple references to the same footnote repeat the footnote
0 comments Created 6 months ago by dandvTest case:
Text^foo More text^foo Other text
Submitted to Babelmark and to the MultiMarkdown discussion group.
Comments
Please log in to comment. -
On 23 Mar 2008, at 12:45, Fletcher T. Penney wrote:
> Plugging the following into babelmark finds a difference between > MMD and Text::MMD. > > > Test footnote.[^1][]. > > [^1]: This is a footnote. > > > It appears that you might be following old MMD behavior - I used to > have trouble with single digit footnote labels as well. >Probably, I have a feeling that Text::MultiMarkdown was based on an
older version of MultiMarkdown than your current one.I'll look into this (and other changes / additions you've made) ASAP
- it was already on my roadmap for the next version:http://svn.kulp.ch/cpan/text_multimarkdown/trunk/Todo
Do you have test cases to cover this and any other changes you made
in the latest version of MultiMarkdown, as I was under the impression
that I'd got a copy of all your latest cases?Cheers
TomComments
Please log in to comment. -
Begin forwarded message:
From: "Fletcher T. Penney" <fletcher[...]fletcherpenney.net> Date: 23 March 2008 13:34:08 GMT To: "Discussion related to Markdown." <markdown- discuss[...]six.pairlist.net> Subject: MultiMarkdown 2.0.b5 Released Reply-To: "Discussion related to Markdown." <markdown- discuss[...]six.pairlist.net>
I have released version 2.0.b5 of MultiMarkdown today. As always, it can be downloaded from:
http://files.fletcherpenney.net/MultiMarkdown.zip
Some of the changes include:
spaces at end of xslt filenames won't cause failure
use
\url{}for "non-referenced" url's in LaTeX to allow linebreaks (though they still don't always break correctly --- this is a problem withhyperrefnot MMD)don't convert
^to exponents in theclean-text-allow- latex.xsltfile so that math code works properlythe S5 XSLT file at least partially works again now
update the TextMate bundle to work with Leopard
updated the envelope and letterhead files
include
6x9book-real-poetryXSLT that uses memoir's poetry features fairly wellrework the
clean-textfiles to make them easier to update in the future and more modularXHTML comments are now passed through as raw LaTeX
unescape encoding within comments
Fletcher
-- Fletcher T. Penney fletcher[...]fletcherpenney.net
24 hours in a day, 24 beers in a case. Coincidence? - Steven Wright
Markdown-Discuss mailing list Markdown-Discuss[...]six.pairlist.net http://six.pairlist.net/mailman/listinfo/markdown-discuss
Comments
Please log in to comment. -
MultiMarkdown renders 128-bit hash in code span within footnotes
2 comments Created 5 months ago by dandvDate: Wed, 06 Aug 2008 11:41:37 -0400 From: J Chapman Flack <jflack@math.purdue.edu> Some special characters are rendered unexpectedly if they appear within `backticks` in the text of a footnote. 'Unexpectedly' in this context means 'as 32 hexadecimal digits': Test code: use Text::MultiMarkdown; my $m = Text::MultiMarkdown->new; my $in = <<XYZZY; I am a sentence containing a footnote.[^really] [^really]: Here is the footnote, which contains a `*` and a `_` and even a `\*` and a `\_` and a `\\`. XYZZY my $out = $m->markdown($in); print $out; Output: <p>I am a sentence containing a footnote.<a href="#really" id="freally" class="footnote">1</a></p> <div class="footnotes"> <hr /> <ol> <li id="really"><p>Here is the footnote, which contains a <code>3389dae361af79b04c9c8e7057f60cc6</code> and a <code>b14a7b8059d9c055954c92674ce60032</code> and even a <code>3389dae361af79b04c9c8e7057f60cc6</code> and a <code>b14a7b8059d9c055954c92674ce60032</code> and a <code>28d397e87306b8631f3ed80d858d35f0</code>.<a href="#freally" class="reversefootnote"> ↩</a></p></li> </ol> </div> Version tested: 1.0.19 Chapman Flack mathematics PurdueI committed a test for this:
http://github.com/bobtfish/text-multimarkdown/blob/master/t/36footnotes.t
Comments
Can we get this into the .text test suite? Also, can we get a babelmark link, where else is this bug?
Please log in to comment.This is fixed and shipped in 1.0.27, but I'd still like a test in the .mdtest suites.
-
The mentioned script do not installs automatically, as well as manually (make, make install).
Also warns about missing prerequisite:catalyst@symbie-dev:~/.cpan/build/Text-MultiMarkdown-1.000032-RwUCGs$ sudo perl Makefile.PL Warning: prerequisite script/MultiMarkdown.pl 0 not found. Writing Makefile for Text::MultiMarkdown catalyst@symbie-dev:~/.cpan/build/Text-MultiMarkdown-1.000032-RwUCGs$ sudo make install Skip blib/lib/Text/MultiMarkdown.pm (unchanged) Manifying blib/man3/Text::MultiMarkdown.3pm Appending installation info to /usr/lib/perl/5.10/perllocal.pod catalyst@symbie-dev:~/.cpan/build/Text-MultiMarkdown-1.000032-RwUCGs$ MultiMarkdown.pl bash: MultiMarkdown.pl: command not found catalyst@symbie-dev:~/.cpan/build/Text-MultiMarkdown-1.000032-RwUCGs$Comments
Please log in to comment.



