Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jgm opened this issue Jun 10, 2011 · 2 comments
Closed

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

jgm opened this issue Jun 10, 2011 · 2 comments
Assignees

Comments

@jgm
Copy link
Owner

jgm commented Jun 10, 2011

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.

Google Code Info:
Issue #: 227
Author: bpjonsson
Created On: 2010-03-31T16:33:48.000Z
Closed On: 2010-07-07T04:02:50.000Z

@ghost ghost assigned jgm Jun 10, 2011
@jgm
Copy link
Owner Author

jgm commented Jun 10, 2011

It would be nice if captions where supported for code blocks and images, too.

Google Code Info:
Author: Sebastia...@googlemail.com
Created On: 2010-04-18T21:40:42.000Z

@jgm jgm closed this as completed Jun 10, 2011
@jgm
Copy link
Owner Author

jgm commented Jun 10, 2011

Resolved by 7d68768

Google Code Info:
Author: fiddloso...@gmail.com
Created On: 2010-07-07T04:02:50.000Z

jgm added a commit that referenced this issue Oct 20, 2015
jgm added a commit that referenced this issue Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant