slipshow icon indicating copy to clipboard operation
slipshow copied to clipboard

Make sure compiled presentations are standalone

Open panglesd opened this issue 1 year ago • 2 comments

For instance, for mathjax math I had to change it to svg, but there are still assets that are not included I think.

But more importantly, fonts need to be included for all browser to display the presentation the same!

panglesd avatar May 14 '24 18:05 panglesd

Here I am indeed seeing slightly different outputs on two macs that I use to work on a presentation. I reckon the difference is the set of installed fonts. Is there a way to specify fonts in the markdown source file?

nilsbecker avatar Jun 12 '24 12:06 nilsbecker

Thanks for the report! That motivates me to work on that.

You can embed HTML in markdown, so that might be the way to go as a workaround (until I fix this particular issue!) I think embedding CSS could be a way:

<style>body { font: ... } </style>

panglesd avatar Jun 13 '24 11:06 panglesd

Sorry, I haven't yet been able to work on this...

Another subissue:

  • <script src=...> and <img src=...> are not detected and included. For image there is a way (![](...)) but for scripts there is no convenient way!

panglesd avatar Apr 27 '25 08:04 panglesd

Since #150, fonts used in the themes are base64-inlined in the CSS. So I am not aware of anything missing in compiled presentations, this issue can be closed! (But @nilsbecker if you test it and it fails, feel free to ask for reopening)

panglesd avatar Sep 02 '25 14:09 panglesd