Skip to content
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

Shell and Bash languages with Obsidian v1.0.0? #53

Open
dslusser opened this issue Oct 17, 2022 · 3 comments
Open

Shell and Bash languages with Obsidian v1.0.0? #53

dslusser opened this issue Oct 17, 2022 · 3 comments

Comments

@dslusser
Copy link

Hello,

This plugin has worked perfectly for me up until the newly released Obsidian v1.0.0. On Obsidian v1.0.0, the plugin doesn't seem to highlight shell and bash languages in the same way it used to; some text is highlighted, but most is not (it seems that python, javascript, css, and others do still work properly). Is anyone else experiencing the same behavior? Maybe it's just me and the syntax has changed for declaring these languages and I'm making the mistake?

@SHU-red
Copy link

SHU-red commented Oct 18, 2022

Exactly the same for me
Screenshot_20221018_210558

Im experiencing the same
And also on

  • Linux
  • Windows

@dslusser
Copy link
Author

The more that I've explored this, I'm now wondering if the plugin was even working for the past few months. I'm wondering if Obsidian integrated something similar into the app at some point, it broke/overwrote this plugin, and I didn't even realize that they did so. In v1.0.0 after quite a bit of exploration, I realized that I can use code snippets with css classes to stylize the built in codemirror syntax highlighting. It's not perfect, but it is just about the same as it was previously and at least gets me close enough to stop obsessing over it now.

@cityvigil
Copy link

cityvigil commented Nov 21, 2022

I also encountered a similar problem with Obsidian v1.0.3.
Then I installed the 「 Style Settings 」 and 「 CodeMirror Options 」 plugins and the problem was solved.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants