-
Notifications
You must be signed in to change notification settings - Fork 53
Description
First off, thanks for this template. Really slick and useful.
I'm wondering if it is possible to have a separate file with the markdown source in it like mentioned in the remark.js documentation:
External Markdown
Depending on your preference, you might want to keep the Markdown source in a separate file. Using the
sourceUrlfield, a URL may be specified which will get loaded synchronously and used instead of the two former options:var slideshow = remark.create({ sourceUrl: 'markdown.md' });When working locally, with your slideshow HTML opened directly from disk, using the
sourceUrlwon't work out of the box. This requires hosting your files using a web server, which can be accomplished in multiple ways, e.g. by runningpython3 -m http.serverin the directory of yourindex.htmlfile. With a web server up and running, say on port 8000, you should be able to access your files via http://localhost:8000.
Naively removing the <textarea> and sticking in sourceUrl as described above doesn't seem to work. Cheers!