Open Eloitor opened 8 months ago
That’s because the result block defaults to text/plain
, so it ignores text/html
and text/latex
(and supporting these two is kind of complex).
if there's other text output format other than those three, please let me know.
I see, It is indeed an html table.
I think that the obvious way to deal with this might be by using pandoc to convert to typst the content of the text/html and text/latex specific cells. Am I oversimplifying?
It's doable, since there is an existing package.
It might also be possible to replace KaTeX convert in Markdown with this package, but the performance impact is unclear.
I'm open for anyone who wants to submit a PR for this.
Description
In my jupyter notebooks I construct tables with sagemath:
This produces a table in the notebook, but it is not properly translated to typst.
Tables created manually in markdown get translated! :)
Use case
Display results using a table.