Closed DoctorSubtilis closed 1 year ago
You mean symbolic link on your file system? Browser extensions doesn't have control over how files are read from your local system, it's the browser itself that allows and controls that.
You sure that's not because of a browser update for example?
Yes, symlinks.
No, I'm not sure if it depends from a browser update: what browser's settings should I check?
I don't know, but this is most likely a breaking change in Chrome after update. There is no way for a browser extension to check for symlinks, at least that I know of.
ok, thank you
Today I found a workaround: put within the css (in Chomium extension folder) a link toward my css:
@import url(http://localhost/path-to-my-file/myfile.css
So it works, but I noticed that the left toc div (in chromium window) isn't affected by css (even I use #_toc)
Thanks
I'm probably using some really heavy css rules there, like !important
on a #
selector, check out the .css
files in the repo, you should be able to style it with the correct selector + using !important
.
Thank you. Already done, but unsuccessfully (as in attached image):
#_toc-left #_toc {background-image: linear-gradient(to right, #d9d9d9,#e6e6e6 80%) !important; color: white;}
Probably this is due to tha fact that ""#_toc" division (the left one), unlike "#_html" div (at right side), doesn't have the class class="markdown-theme" (applied from Chromium: customizable?)
Your selector isn't correct ._toc-left
is a class, although you probably don't need this, check out the TOC styles here https://github.com/simov/markdown-viewer/blob/master/content/index.css#L56-L92
Thank you. I tried with:
#_toc {background: transparent !important; background-image: linear-gradient(to right, #d9d9d9,#e6e6e6 80%) !important; color: white !important;}
but unsuccessfully.
Using "inspect", as I said, I see that to "#_toc", unlike "#_html" div, as in attached image, isn't applied the class "markdown-theme": this is the problem, I guess. I don't know if this is your "guilt", so to say, or Chromium...
Sorry: the problem was the Chromium cache!
Now it works!
So far (3.7) I was able to link from my home to extension folder a css. Now, with 3.8, a linked css is working no more: it works only if copied in themes folder: why? Thank you