using --html, only ---pdf does not enable <sup> tag? #408
-
Hi, thanks for the project team. Marp is great! Today I have a question about "sup" html tags. Recently I found the problem (it seemed to not occur several month ago...). File that reproduces "my problem" is located at: Question/Problem is: marp --html --preview 2023-01-11_convert_sup_and_htmltag_to_pdf.md
marp --html 2023-01-11_convert_sup_and_htmltag_to_pdf.md
marp --images --html 2023-01-11_convert_sup_and_htmltag_to_pdf.md marp --pptx --html 2023-01-11_convert_sup_and_htmltag_to_pdf.md
marp --pdf --html 2023-01-11_convert_sup_and_htmltag_to_pdf.md <sup> tag Is this a bug, or needs specical command line option or something?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It may be a bug from Chrome, similar to marp-team/marp-vscode#393 (comment). When tried to print the exported HTML to PDF in the browser, It affects only when using Reporting it to https://bugs.chromium.org/p/chromium/issues/ may be worth. User-side workaroundsup, sub {
display: inline-block;
} |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. |
Beta Was this translation helpful? Give feedback.
It may be a bug from Chrome, similar to marp-team/marp-vscode#393 (comment). When tried to print the exported HTML to PDF in the browser,
<sup>
has surely vanished.It affects only when using
default
theme that has the custom style for<sup>
and<sub>
, and not affects when using the theme that have no custom styles for them.Reporting it to https://bugs.chromium.org/p/chromium/issues/ may be worth.
User-side workaround