marp-cli icon indicating copy to clipboard operation
marp-cli copied to clipboard

--theme can not be a URL

Open roidelapluie opened this issue 6 years ago • 4 comments

I would love to see --theme support online URL's

roidelapluie avatar Nov 09 '19 22:11 roidelapluie

+1

simoneggler avatar Dec 07 '22 13:12 simoneggler

Hello,

Any plan to support this feature? I am ready to contribute if it can help.

Basically, it seems updating the theme file and extending the load function should be enough. What do you think?

vincent-zurczak avatar Apr 16 '23 17:04 vincent-zurczak

Please notice to path preprocessing in config.ts. If remote URL(s) was passed to theme and themeSet, you should skip preprocessing to resolve theme's relative path from the location of configuration file. https://github.com/marp-team/marp-cli/blob/29c8c0f7838105dd267d1f7939413f362f5798b8/src/config.ts#L156-L171

yhatt avatar Apr 19 '23 13:04 yhatt

I've opened a PR for this, folks 👋

#571

robertjdominguez avatar Apr 02 '24 15:04 robertjdominguez