Awkee / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Language neutral table caption syntax, and captions above tables #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by bpjonsson@gmail.com on 31 Mar 2010 at 4:33

GoogleCodeExporter commented 9 years ago
It would be nice if captions where supported for code blocks and images, too.

Original comment by Sebastia...@googlemail.com on 18 Apr 2010 at 9:40

GoogleCodeExporter commented 9 years ago
Resolved by 7d687684aa4ca0ebbdf4d9a0bcaa1d3ea1a8b7b3

Original comment by fiddloso...@gmail.com on 7 Jul 2010 at 4:02