You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue occur when all extensions are disabled?: Yes
VS Code Version: 1.66.2
OS Version: Kubuntu 21.10
Steps to Reproduce:
Edit markdown.styles with a URL starting with HTTPS, to a .css file, for example, I have a public .dotfiles git repo in which I have a .css file for styling markdown previews - getting the URL of the raw file and pasting it in doesn't work, I get the "Could not load markdown.styles..." error.
The text was updated successfully, but these errors were encountered:
If you open the dev tools to investigate further, you should see:
used to apply style from 'https://XXX' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
The sites all return their content as plaintext, likely because they don't want to be used as a generic CDN for stylesheets and script. So I don't think this has anything to do with https, it's just how the sites you are trying to use to host the contents are configured
Would be nice if this was mentioned somewhere in the docs, because as it stands this feature is very limiting.
At the very least mention an example of a hosting service that would return the right content type, we shouldn't need to guess.
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
markdown.styles
with a URL starting with HTTPS, to a .css file, for example, I have a public .dotfiles git repo in which I have a .css file for styling markdown previews - getting the URL of the raw file and pasting it in doesn't work, I get the "Could not load markdown.styles..." error.The text was updated successfully, but these errors were encountered: