Open raphaelquast opened 1 year ago
Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:
I was also trying to render a dataframe into a proper markdown table and I was able to reproduce bug. This is inconvenient as mystnb should help to format table with data instead of having to write markdown.
@mathisdrn fyi: I found that HTML tables seem to do the job just fine (and pandas supports html-table output as well... )!
import pandas as pd
from IPython.display import display, Markdown
df = pd.DataFrame(dict(a=[1,2,3], b=[4,5,6]))
display(HTML(df.to_html()))
Describe the bug
context I have a nice markdown table like this:
and I'd like to render it from a code-cell using something like this:
... and in my
conf.py
i have the following:expectation I expected something like this:
bug But instead I get this:
Reproduce the bug
the description should be enough to reproduce
List your environment
myst-nb 1.0.0 myst-parser 2.0.0