When running our extension in a PrairieLearn vscode workspace, we won't have access to the internet. This is especially true in a quizz/exam setting when students are using vscode workspaces in CBTF. Therefore, loading javascript libraries from external CDN or other package registries is a no-go. We need to download the JS libraries we need (jquery, d3, etc) and save those files into our extension folder, and then access those through vscode APIs. Perhaps put these in a folder like resources/lib.
When running our extension in a PrairieLearn vscode workspace, we won't have access to the internet. This is especially true in a quizz/exam setting when students are using vscode workspaces in CBTF. Therefore, loading javascript libraries from external CDN or other package registries is a no-go. We need to download the JS libraries we need (jquery, d3, etc) and save those files into our extension folder, and then access those through vscode APIs. Perhaps put these in a folder like
resources/lib.