Skip to content

How to set custom theme to external url with marp-cli #523

Answered by yhatt
SoumayaMauthoorMOJ asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you should download the theme from remote before.

wget https://example.com/foo/bar/custom-theme.css
marp --theme custom-theme.css

Marp for VS Code allows remote URL in markdown.marp.themes setting that have compatibillity with custom style settings markdown.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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SoumayaMauthoorMOJ
Comment options

Answer selected by SoumayaMauthoorMOJ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants