-
Notifications
You must be signed in to change notification settings - Fork 58
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 code works with bash
but not sh
#331
Comments
What exactly do you mean? The syntax highlighting is not done by the extension but by obsidian. |
Sorry, forgot to finish the description after adding screenshots. The main problem is that there is no Run button in Read Mode. I have updated the description. |
I reported the syntax issue with Obsidian. Syntax highlighting for sh code blocks disappears in Reading View - Bug reports - Obsidian Forum |
Okay, thats really strange... Does this appear to be always the case or only in this note or under specific circumstances? Can you please share your OS and obsidian version? Are you using any other plugins that might interfere with the execute code plugin? |
I reproduced it now in fresh vault with only Execute Code enabled. Debug Info
|
Okay, it looks like there is a problem with the alias |
That's fine with me :) I think this is an issue in Obsidian anyway. So let's close, and I'll reopen if upstream issue gets fixed and problem still remains. |
This is not a huge issue but it was surprising to me because Obsidian recognizes the syntax in Edit Mode, but there's no Run button in Read Mode. Also the syntax highlighting disappears, but this seems to be a perhaps related Obsidian problem.
Source mode
Edit mode
Read mode
The text was updated successfully, but these errors were encountered: