-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
How can you style the editor view? #18
Comments
Depending on which mode you're in, Obsidian uses a different syntax highlighter. In editing mode it uses Codemirror, in reading mode it uses Prism. They both process the CSS differently. Here is a simple example. It is possible to make them look more alike, but more alike to which one? |
Someone else forked this repo and adjusted the styling, if you're looking for inspiration. |
Would it be interesting for you to include a PR that changes the This would allow for the And/or have you considered changing to allow the usage of the Style settings plugin to change these colors? (I'm not entirely sure how well that copes with having the default be another variable, but in other aspects I consider that a viable option for changing CSS stuff to) |
Some of them already do match from what I can tell from a quick glance. I'm not opposed to more being added to be fully theme compatible, if possible. I wasn't aware that Style Settings supported plugins, but a look at the plugin's README tells me it does! That also sounds like an interesting path worth investigating. |
I notice there is a lot of changes in the default
css
code blocks, versus the view which opens using this plugin. Is it possible somehow to make them look more alike?The text was updated successfully, but these errors were encountered: