
pandoc - issue #227
Language neutral table caption syntax, and captions above tables
The current extended markdown table caption syntax using the literal English word "Table" is undesirable when writing documents in languages other than English.
From a message to the discussion list (John replying to me):
<http://groups.google.com/group/pandoc-discuss/msg/4903c80d662216ba>
> (That's why I think "Table: Caption" should be > > "[: Caption ]" -- and why can't it go above as well > > as below the table, BTW?)
I'm in favor of some alternative table caption syntax. (Using "Table:" was a mistake, but I'd keep it for backwards compatibility.) One possible syntax would be a paragraph beginning with a colon:
----------- ------- --------------- -------------------------
First row 12.0 Example of a row that
spans multiple lines.
Second row 5.0 Here's another one. Note
the blank line between
rows.
-------------------------------------------------------------
: Here's a multiline table without headers.
I'm open to allowing it to go above as well as below, too, if I can do so without a significant decrease in performance.
Comment #1
Posted on Apr 18, 2010 by Massive CatIt would be nice if captions where supported for code blocks and images, too.
Comment #2
Posted on Jul 7, 2010 by Grumpy DogResolved by 7d687684aa4ca0ebbdf4d9a0bcaa1d3ea1a8b7b3
Status: Fixed
Labels:
Type-Enhancement
Priority-Medium