Closed GoogleCodeExporter closed 9 years ago
Pandoc's markdown allows ordered lists to start with letters as well as
numbers. It
also pays attention to the starting letter, and it allows one-item lists.
Because of
this, starting a paragraph with a single letter followed by a period can
trigger a
list. The fix is to escape the space: E.\ coli (or, if you like, escape the
.).
If it's showing up as '5.' rather than 'E.', there must be a problem with your
css.
If you look at the HTML, you should see <ol start="5" style="list-style-type:
upper-
alpha;">. I fixed this css problem a while back, so you might upgrade to the
latest
version of gitit.
Update: It turns out you've uncovered a bug in pandoc. The pandoc user's guide
says
that if you start an ordered list with a capital letter and period, you need
two
spaces after the period. The reason for this is to prevent the kind of
unexpected
behavior you encountered. Apparently this doesn't work any more -- I'll look
into
it, but I'm going to open a separate bug report on the pandoc bug tracker and
close
this one.
http://code.google.com/p/pandoc/issues/detail?id=212
Original comment by fiddloso...@gmail.com
on 29 Jan 2010 at 8:18
Original issue reported on code.google.com by
ehamb...@gmail.com
on 29 Jan 2010 at 6:09