Allow outputting table with ID instead of wrapping in div
Open
@rich-iannone is already working on this.
Since Jun 10, 2020.
Difficulty: [3] Advanced
Effort: [3] High
Focus: HTML Output
Priority: [2] Medium
Type: ★ Enhancement
- Dominant language
- R
- Stars
- 2.2k
- Forks
- 225
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 11
Description
Currently when using gt to generate HTML tables in rmarkdown the only way I have found to get just the table without the enclosing div is to use as_raw_html() but then this requires the use of inline_css=TRUE or you lose most nice formatting.
It would be good if it was possible to generate the table with formatting like normal but with the ID on the table and get rid of the superfluous wrapping div.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.