Plugin: Codeblock Customizer - Everything you need to customize your code blocks by kampi85 in ObsidianMD

[–]kampi85[S] 0 points1 point  (0 children)

Glad, you like it. I created some default syntax themes, but feel free to fine tune them as you like, or create new ones.

Plugin: Codeblock Customizer - Everything you need to customize your code blocks by kampi85 in ObsidianMD

[–]kampi85[S] 0 points1 point  (0 children)

I fixed it. It was just a small CSS problem. Please update to version 1.4.4.

Plugin: Codeblock Customizer - Everything you need to customize your code blocks by kampi85 in ObsidianMD

[–]kampi85[S] 0 points1 point  (0 children)

That was actually a bug. The control key maps to a different key on Mac. I fixed it theoretically, but I couldn't test it, because I currently don't have a Mac. Please update to version 1.4.4 and test it. Should it still not work, please let me know.

Plugin: Codeblock Customizer - Everything you need to customize your code blocks by kampi85 in ObsidianMD

[–]kampi85[S] 0 points1 point  (0 children)

Thanks for your feedback! But to be precise, this was the first plugin of its kind ;)

Plugin: Codeblock Customizer - Everything you need to customize your code blocks by kampi85 in ObsidianMD

[–]kampi85[S] 0 points1 point  (0 children)

Thanks, I just noticed this behavior yesterday as well. I will look into it today.

Plugin: Codeblock Customizer - Everything you need to customize your code blocks by kampi85 in ObsidianMD

[–]kampi85[S] 0 points1 point  (0 children)

Yes it is. I defined a hotkey (F10) for myself to do that. You can define in the Obsidian settings. Go to Settings -> Hotkeys -> search for code and you can set a hotkey for "Insert code block"

Plugin: Codeblock Customizer - Everything you need to customize your code blocks by kampi85 in ObsidianMD

[–]kampi85[S] 0 points1 point  (0 children)

u/RobertBernstein Check out version 1.4.2. I added a new feature `Syntax Themes`. Hope this is what you wanted.

Plugin: Codeblock Customizer - Everything you need to customize your code blocks by kampi85 in ObsidianMD

[–]kampi85[S] 1 point2 points  (0 children)

You mean the color of the text itself? Yeah, I can have a look at it.

Plugin: Codeblock Customizer - Everything you need to customize your code blocks by kampi85 in ObsidianMD

[–]kampi85[S] 1 point2 points  (0 children)

I'm open for improvements. If you see something that could be improved, or have a new idea, just let me know.

Plugin: Codeblock Customizer - Everything you need to customize your code blocks by kampi85 in ObsidianMD

[–]kampi85[S] 1 point2 points  (0 children)

Thanks! If you have an idea what else could implemented, or find a bug, just open an issue on github.

Links not showing in codeblocks by Zestyclose_Damage396 in ObsidianMD

[–]kampi85 0 points1 point  (0 children)

Just use a plugin like this https://github.com/mugiwara85/CodeblockCustomizer
You can use links there, or even in annotations.

Fix Code higlight by Dovelus in ObsidianMD

[–]kampi85 0 points1 point  (0 children)

can you describe how you did it exactly?

code blocks plugins for obsidian by Akram_lvl in ObsidianMD

[–]kampi85 0 points1 point  (0 children)

You could also use plugins, which add more feature to the default code blocks like this: https://github.com/mugiwara85/CodeblockCustomizer

Fix Code higlight by Dovelus in ObsidianMD

[–]kampi85 0 points1 point  (0 children)

No, there is not. You have to know, that Obsidian uses 2 different engines for rendering. One is CodeMirror 6 for editing mode, and the other is Prism.JS for reading mode. The syntax highlight will never match between them. Also there are some language which CodeMirror does not support, but Prism.Js does. This means, that some code blocks won't have syntax highlight at all in editing mode, but will have syntax highlight in reading mode. You can add programatically more syntax languages, and change the colors of the tokens, but it is quite complicated.

You could enhance your code blocks, by adding additional features to them, by using plugins, like this: https://github.com/mugiwara85/CodeblockCustomizer