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.

Using Header Tags within Tables

See original GitHub issue

Header tags don’t seem to work inside tables, is there a way to get them to work?

Example code:

# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6
**bold**
*italic*

| # Header 1 |
| --- |
| ## Header 2 |
| ### Header 3 |
| #### Header 4 |
| ##### Header 5 |
| ###### Header 6 |
| **bold** |
| *italic* |

Additionally, is there a way to create a table without it using the <th> for the first row which formats the data as a table header?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
tiviecommented, Sep 14, 2018

I will be closing this issue. If you feel there’s something else you wish to add, please feel free to reopen it.

1reaction
LeahPikecommented, Aug 7, 2018

Ideally I don’t want to tell our users to use HTML, that’s the whole reason we’re using markup 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML Table Headers - W3Schools
Table headers are defined with th elements. Each th element represents a table cell. Example. <table> <tr>
Read more >
Tables with One Header | Web Accessibility Initiative (WAI)
This page covers tables that have one simple header for rows or one simple header for columns. Data in such tables is descriptive...
Read more >
<th>: The Table Header element - HTML - MDN Web Docs
The <th> HTML element defines a cell as header of a group of table cells. The exact nature of this group is defined...
Read more >
H1, H2, H3, H4, H5, H6 inside table TH tags? - HTML
You can put header tags inside a <td> , and you can use <td> in the same places that <th> is allowed. So...
Read more >
How do you put a table heading tag inside a table? - Treehouse
I suggest that you might need to use a table row tag first, and then put your table header tag inside that.
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