Closed FelisDiligens closed 1 year ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Totals | |
---|---|
Change from base Build 4427271110: | 0.0% |
Covered Lines: | 235 |
Relevant Lines: | 235 |
Thank you and the PR looks good. I'll merge it later in v4.2.2.
Description
Currently, whether a caption is placed above or below the table in Markdown isn't really taken into account. The resulting caption stays on top.
This pull request adds a style attribute to the <caption> tag, containing
caption-side: bottom
, if the caption is placed below the table.(The default value of
caption-side
istop
, which is why I chose to omit it. See MDN)I also updated the test fixtures to include the style attribute.
Please let me know, if there's something wrong with the PR.
Examples
Results in
Results in