fsprojects / FsReveal

FsReveal parses markdown and F# script file and generates reveal.js slides.
http://fsprojects.github.io/FsReveal
258 stars 102 forks source link

Offline support? #101

Open haf opened 7 years ago

haf commented 7 years ago

I suggest you offline support.

Offline support is very important for presentations as one may not always have WiFi or a charged phone. Especially so while travelling and giving presentations outside one's own office.

I think it's pretty straight forward to bring together:

One thing that needs fixing is the pulling in of external deps; every presentation I give using FsReveal, one or two of the foreign CDNs don't properly serve their resources leading to my presentation being delayed:

    <script src="//code.jquery.com/jquery-1.8.0.js"></script>
    <script src="//code.jquery.com/ui/1.8.23/jquery-ui.js"></script>
    <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
    <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css" rel="stylesheet">

I need to know to what extent any of the above libs have been customised? Primarily Reveal.js' changes is most relevant?

forki commented 7 years ago

I heard others have problems with offline suppot (like @isaacabraham) as well. So we are open for PRs.

haf commented 7 years ago

img_1965

I'll see what the weather prompts me to do.

haf commented 7 years ago
forki commented 7 years ago

I dunno. It was there from original template. I assume navigation and highlighting and stuff

haf commented 7 years ago

Feedback in the PR welcome

ErikSchierboom commented 7 years ago

@haf Is there any progress on this front? I'd love offline support.

haf commented 7 years ago

There's a PR that basically works, that you could test?

ErikSchierboom commented 7 years ago

There are two PR's related to offline support. #103 and #104. Which one should I try?

haf commented 7 years ago

No 103 is mine.

ErikSchierboom commented 7 years ago

I've just tested on my MacBook, the finding are in #103

danyx23 commented 6 years ago

You probably already know this but if you can live with static slides for the offline version, something you can do right now is use the print to pdf workflow described here: https://github.com/hakimel/reveal.js/#pdf-export