Is it possible for a VSCode extension to include HTML that are written to disk somewhere (doesn't matter where) when the extension is installed, so that I can then open that HTML from links?
E.g. I want a link to the offline documentation for a function in its tooltip.
Yes, your extension can use the standard node apis to download the files. Then you can:
Use the
markdown.showPreview
command to open the file as a html preview in VS Code:Use node apis to open the file in the user's standard web browser (again using the
file:
uri)