Skip to content

VS Code multi-root workspace cross-references #487

Answered by freenandes
freenandes asked this question in Q&A
Discussion options

You must be logged in to vote

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.

workspace
│  
└—workspaceRoot
  │ 
  ├—folderA
  │ │ 
  │ └—content.md
  │ 
  └—folderB
    │ 
    └—theme.css

So the reference would simply be folderB/theme.css for this workspace.

This is fine and it works on most extensions. Git works fine.

Replies: 2 comments 1 reply

Comment options

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

Comment options

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