How to set custom theme to external url with marp-cli #523
-
marp-vscode allows you to specify both relative paths and remote URLs as custom themes (see here):
marp-cli allows you to specify a relative path to a custom theme (see here:
I've tried passing an external url e.g. through jsdeliver but no luck. Do I need to download the css file first, for example as part of a GitHub action? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, you should download the theme from remote before.
Marp for VS Code allows remote URL in Please note that Marp team is not leading implementation about this function, to make CLI secure by reducing remote access capabilities. However, the pull request from the community has been reviewed and in progress. |
Beta Was this translation helpful? Give feedback.
Yes, you should download the theme from remote before.
Marp for VS Code allows remote URL in
markdown.marp.themes
setting that have compatibillity with custom style settingsmarkdown.styles
for VS Code Markdown preview, but Marp CLI does not allow passing themes as external URL.Please note that Marp team is not leading implementation about this function, to make CLI secure by reducing remote access capabilities. However, the pull request from the community has been reviewed and in progress.