-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom user styles not working #98
Comments
It seems that styles are added to the markdown preview in the following order per the docs
However, the way this extension works is it wraps all the rendered markdown content in an extra
The code that does this can be seen here vscode-github-markdown-preview-style/dist/extension.js Lines 43 to 47 in f2cb247
It would probably be good to add something about this to the README so others don't have to dig into the code just to use that feature. |
Yup, that works! Thanks! |
Create a simple style.css as a test:
body { background-color: green}
With extension enabled, the extension overrides the custom style. With the extension disabled, the style is rendered correctly.
One of the features listed is
Am I misunderstanding something?
Markdown Preview Github Styling v1.0.1
VSCode / OS
Version: 1.63.2 (user setup)
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:40:02.816Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19045
The text was updated successfully, but these errors were encountered: