remark icon indicating copy to clipboard operation
remark copied to clipboard

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

Open sauln opened this issue 6 years ago • 1 comments

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.

sauln avatar Apr 04 '19 21:04 sauln

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

valvin1 avatar Jun 09 '19 05:06 valvin1