-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9735 from quarto-dev/bugfix/9734
lua,cap-location - fix `tbl-cap-location` for unlabeled tables in HTML
- Loading branch information
Showing
6 changed files
with
65 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Table caption location | ||
tbl-cap-location: top | ||
format: html | ||
_quarto: | ||
tests: | ||
html: | ||
ensureHtmlElements: | ||
- ["table.caption-top"] | ||
--- | ||
|
||
| Col1 | Col2 | Col3 | | ||
|------|------|------| | ||
| A | B | C | | ||
| E | F | G | | ||
|
||
: A non-labelled table with a caption |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: Table caption location | ||
tbl-cap-location: bottom | ||
format: html | ||
_quarto: | ||
tests: | ||
html: | ||
ensureHtmlElements: | ||
- [] | ||
- ["table.caption-top"] | ||
--- | ||
|
||
| Col1 | Col2 | Col3 | | ||
|------|------|------| | ||
| A | B | C | | ||
| E | F | G | | ||
|
||
: A non-labelled table with a caption |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: Table caption location | ||
format: html | ||
_quarto: | ||
tests: | ||
html: | ||
ensureHtmlElements: | ||
- ["table.caption-top"] | ||
--- | ||
|
||
| Col1 | Col2 | Col3 | | ||
|------|------|------| | ||
| A | B | C | | ||
| E | F | G | | ||
|
||
: A non-labelled table with a caption |