Comments (4)
Ugh, yeah, that's not really nice. However, I'll pass the cup further down:
sindresorhus/github-markdown-css#76 (who also does the same with another of his projects;))
And I can also only repeat what he's saying: not planning to work on supporting that, as it's not important for us. But PR's will be welcomingly discussed and merged.
from wordpress-markdown-git.
BTW @noah1510 , there's a tiny fork which should do what you want:
https://github.com/hyrious/github-markdown-css
If you replace this file https://github.com/gis-ops/wordpress-markdown-git/blob/master/documents-git/css/github-markdown.css with the one from the fork, it might just work!
If you try it out, please leave feedback here. Then I can just test from my side if it doesn't screw up our case and merge.
from wordpress-markdown-git.
I just tried using the fork and everything looked exactly the same.
I guess that could be expected, since the fork only adds support for dark mode and does not change any of the old style.
So in addition to using the fork, there need to be some changes on the plugin to select the dark mode classes when wordpress uses the dark mode.
from wordpress-markdown-git.
This got merged finally upstream: sindresorhus/github-markdown-css#76
I tried to find out how WP toggles dark mode, but it seems to be theme-specific. I couldn’t find any sort of API in WP that toggles it. We can’t solve theme-specific stuff here I’m afraid..
from wordpress-markdown-git.
Related Issues (20)
- 404 - Not Found for valid Jupyter notebook URLs HOT 13
- GitLab rate limited HOT 3
- Enable dynamic caching
- Small Typo on Readme. :)
- [feature request] support for gitlab wiki pages HOT 12
- WP plugin taking too long HOT 5
- Support for checkbox [x] HOT 3
- Doesn't update ipynb when git is updated. HOT 7
- [Feature request] Skip a given number of lines HOT 2
- Anchor links to headers don't work HOT 1
- Gitlab local API HOT 3
- since update: error message that I reached API call limit HOT 2
- Styles are not enqueued HOT 1
- installation on PHP8.0 HOT 3
- Accessibility with Gitlab markdown flavor HOT 2
- Include a link to settings in plugin page
- Removing cache_ttl does not flush cache HOT 3
- Inline codeblocks not working correctly? HOT 2
- Deprecate this plugin HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-markdown-git.