VS Code multi-root workspace cross-references #487
-
Is it possible for the extension to fetch the theme from a root folder that is not the open folder (with the *.md)? I'm trying all possible combinations and looking to prevent typos, but i cannot get the relative path to the theme on another root folder.
I tried
Is it not supported? Any strategy to achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No, that is not supported. The path resolution rule for custom theme settings in Marp for VS Code follows the configuration of the standard Markdown preview in VS Code:
|
Beta Was this translation helpful? Give feedback.
-
Before, I had created a workspace made from folderA and then added folderB to it, making both folders workspace roots in a concept in VS Code called multi-root workspace. This won't work with Marp, as pointed in the replies. I actually had to create a new workspace folder, and then move both folders into it, each with its git.
So the reference would simply be This is fine and it works on most extensions. Git works fine. |
Beta Was this translation helpful? Give feedback.
Before, I had created a workspace made from folderA and then added folderB to it, making both folders workspace roots in a concept in VS Code called multi-root workspace. This won't work with Marp, as pointed in the replies.
I actually had to create a new workspace folder, and then move both folders into it, each with its git.
So the reference would simply be
folderB/theme.css
for this workspace.This is fine and it works on most extensions. Git works fine.