gnab / remark

A simple, in-browser, markdown-driven slideshow tool.
http://remarkjs.com
MIT License
12.68k stars 856 forks source link

[Feature Request] Load multiple source files in from `sourceUrl` #560

Open sauln opened 5 years ago

sauln commented 5 years ago

Currently, it is possible to load markdown slides from a separate file like

var slideshow = remark.create({
    sourceUrl: 'slides.md'
});

It would be nice to accommodate a list of files. Maybe something like:

var slideshow = remark.create({
    sourceUrls: ['introduction.md', 'body.md', 'tangent.md', 'closing.md']
});

This would help in the organization of large slide decks and in reusability of slide decks.

valvin1 commented 5 years ago

I'm not an experienced javascript developper but I think I did something which works. I'll PR it.