panglesd / slipshow

An engine for displaying slips, the next-gen version of slides
MIT License
637 stars 10 forks source link

Make sure compiled presentations are standalone #39

Open panglesd opened 1 month ago

panglesd commented 1 month ago

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!

nilsbecker commented 2 weeks ago

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?

panglesd commented 2 weeks ago

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>