podium icon indicating copy to clipboard operation
podium copied to clipboard

Export to flat HTML file?

Open ncoghlan opened this issue 2 months ago • 1 comments

What is the problem or limitation you are having?

I have zero idea how hard this would be to implement, but I ran into a situation where the venue's split screen support wasn't working, so we needed to put the slides on a tablet, while I rendered the speaker notes on my laptop.

I handled that by manually creating a LibreOffice slide deck, but wondered how feasible it would be to support exporting pandoc-friendly HTML that could then be further converted to other formats like PDF or OpenDocument's presentation format. (such conversions could also provide a way to prepare slides for printing)

Describe the solution you'd like

Export to a conversion-friendly HTML format with inline CSS styling.

Describe alternatives you've considered

Generating PDF or OpenDocument's presentation format directly

Additional context

No response

ncoghlan avatar Oct 18 '25 04:10 ncoghlan

Agreed that some sort of output format would be desirable. I've always considered PDF output as the obvious candidate for that, but I guess HTML output could also be of use.

Whether that is less effort... is less clear. The current index.html template assumes that resources will be served at URLs relative to the base template. It might be possible to modify index.html to embed all those linked resources - but that will likely be an invasive set of changes (and when it comes to things like images, will result in a big HTML file).

The other option would be to generate an export that doesn't assume everything is embedded, but does contain everything that is needed in a single directory. You'd still need something to "serve" that content - but file:// references would be more likely to work in that context, and would be less invasive as a result.

A variant of this would also allow a Podium slide deck to be served as a Github Pages resource, which would make it easy to publish slide decks as a URL.

freakboy3742 avatar Oct 20 '25 05:10 freakboy3742