We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--- title: "Test" format: html keep-md: true --- ```{python} #| label: test #| tbl-cap: #| - Test caption import pandas as pd from IPython.display import display, Markdown penguins = pd.read_csv("https://pos.it/palmer-penguins-github-csv") markdown_result = penguins.groupby("species").size().to_markdown(index=False, tablefmt="pipe", stralign="right") display(Markdown(markdown_result)) ```
This output to
See {#cell-test} appearing in table caption
{#cell-test}
Intermediate md is
--- title: "Test" format: html keep-md: true --- ::: {#cell-test .cell tbl-cap='["Test caption"]' execution_count=1} ``` {.python .cell-code} import pandas as pd from IPython.display import display, Markdown penguins = pd.read_csv("https://pos.it/palmer-penguins-github-csv") markdown_result = penguins.groupby("species").size().to_markdown(index=False, tablefmt="pipe", stralign="right") display(Markdown(markdown_result)) ``` ::: {#test .cell-output .cell-output-display .cell-output-markdown} | 0 | |----:| | 152 | | 68 | | 124 | ::: :::
This should not be there
The text was updated successfully, but these errors were encountered:
This is a regression as in 1.3 we get
Sorry, something went wrong.
Note that this only barely works in 1.3; table captions by default should be on top of the table in our style, and it's not showing up there either.
We'll fix in 1.5 and backport the fix to 1.4 on the first patch, but this doesn't qualify as a must-fix issue for me.
How can I fix this myself? I have the same issue.
You can add #| label: tbl-mytable to the cell. It will become a crossreferenceable table with Table 1: ... etc.
#| label: tbl-mytable
Table 1: ...
cscheid
Successfully merging a pull request may close this issue.
This output to
See
{#cell-test}
appearing in table captionIntermediate md is
This should not be there
The text was updated successfully, but these errors were encountered: