Skip to content

Enabling --allow-local-files for the marp slide generation in the vscode extension #449

Closed Answered by spkane
spkane asked this question in Q&A
Discussion options

You must be logged in to vote

I spent some time with this today and after about 90 minutes I was able to get the custom CSS working correctly inside VScode. The Dev Tools weren't as useful as I would wish, simply because it was hard to tell what marp was using as the working directory, what config was being passed to marp, etc.

That being said, I was able to refactor my directory layout a bit, enable Strict Path Resolution During Export and then add the relative paths to my two custom CSS files to the Themes setting and then rendering is now working properly in VScode as well as from the CLI.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@yhatt
Comment options

@spkane
Comment options

Answer selected by spkane
Comment options

You must be logged in to vote
0 replies
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