maximevaillancourt / digital-garden-jekyll-template

Start your own digital garden using this Jekyll template 🌱
https://digital-garden-jekyll-template.netlify.app/
Other
961 stars 750 forks source link

Better Obsidian integration #31

Closed xplosionmind closed 3 years ago

xplosionmind commented 3 years ago

The most popular and arguably the best environment to write, edit and manage digital gardens right now is Obsidian.

Obsidian has a few great functionalities which are lacking in this template, such as:

I saw somewhere in the files that a reference to Obsidian is already present, I believe most of the digital gardeners who are using this template are already using this app.

fabriceliut commented 3 years ago

It could be great, I use Obsidian to write my note before publishing to my garden :)

maximevaillancourt commented 3 years ago

I just added support for optional labels in #38. Thanks for the suggestion! I may tackle the other suggestions later.

redstreet commented 3 years ago

FYI, for anyone who is interested: I was able to get mermaid intergration with jekyll-spaceship.

meewgumi commented 3 years ago

@xplosionmind cc: @fabriceliut @maximevaillancourt

I worked on a plugin for obsidian image embeds here: https://github.com/meewgumi/green-web-template/blob/main/_plugins/obsidian_images_generator.rb

The trick is setting the priority higher than the bidirectional link generator, so that the images generator runs first. I also set image_path to be assets/images but if you're just keeping your images/attachments in assets you'd have to update that variable

I wrote some notes here on how I set up Obsidian and obsidian images generator technical notes here. As you can see in the raw markdown file, the plugin can handle both regular MD images and Obsidian formatted image embeds, with or without the proper assets path

Just remember to update your image_path in the .rb file itself to reflect where your images are being saved! Hope this makes sense to everyone!