question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Table does not have caption

See original GitHub issue

Like #66 we need a plugin to embed caption for tables

Example of code:

a | b
----|----
c | d
Table: dummy

+-----+-----+
|  a  |  b  |
+-----+-----+
|  c  |  d  |
+-----+-----+
Table: dummy

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
artragiscommented, Jun 22, 2017

Ok thank you. I fix it quickly.

0reactions
AmarOk1412commented, Jun 21, 2017

Yeap @vhf I know, but I didn’t know what’s wrong. I think I understand now!

@artragis Gotcha! https://github.com/zestedesavoir/zmarkdown/blob/master/packages/remark-captions/src/index.js#L17 (Object.keys(legendBlock).forEach(nodeType => visit(tree, nodeType, externLegendVisitorCreator(blocks))))

The plugin only visit nodes in legendBlock, not in blocks so new nodes (like gridTable) in blocks is simply ignored. I think we just have to replace legendBlock by blocks and add a new test (and it will work). If you want to correct this (or I can do this after the ping plugin).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Word 2016- table captions not appearing in table of contents
Hi, Captions do not ordinarily appear in a Table of Contents, but rather in a Table of Figures/Tables. This is the same field...
Read more >
Why can't I put a caption in this table? - LaTeX Stack Exchange
1 Answer 1 · Grouping follows a hierarchy: If you open up a table and inside it a tabular , you have to...
Read more >
The Table Caption element - HTML - MDN Web Docs - Mozilla
This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:...
Read more >
Captions for Figures and Tables | Style for Students Online
In papers written for classes and submitted to journals, every table and figure should include a caption, honoring these common practices: The caption...
Read more >
Caption & Summary | Web Accessibility Initiative (WAI) - W3C
The caption should be a short heading for the table content. In this example “Concerts” tells users what information is in the table...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found