Skip to content

using --html, only ---pdf does not enable <sup> tag? #408

Answered by yhatt
ToruSagami asked this question in Q&A
Discussion options

You must be logged in to vote

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

sup, sub {
  display: inline-block;
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ToruSagami
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants