VSCode extension for developers | obsidian-snippets

Hello everyone!
I just developed a VSCode extension obsidian-snippets that allows you to select a code block from any script, and then paste it into Obsidian note in an organised way (with the daily date), using the appropriate language format, all in just one click.

The main goal is to be able to centralize our code snippets in Obsidian as quickly as possible, without overthinking it!

Feel free to try it out :smiley:

2 Likes

a selection from a c++ header file creates a code block snippet with type β€œh” which does not show any syntax highlighting. I had to change the code block type to cpp to show this.

1 Like

Thank you for reporting this issue!

There is a similar issue with python, a selection create a code block snippet with the type py in place of python, and py doesn’t show the syntax highlighting.

1 Like

These language issues on Obsidian have been fixed, thank you for your feedback. :smiley: