Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Better Obsidian integration #31

Closed
2 of 5 tasks
xplosionmind opened this issue Dec 1, 2020 · 4 comments
Closed
2 of 5 tasks

Better Obsidian integration #31

xplosionmind opened this issue Dec 1, 2020 · 4 comments

Comments

@xplosionmind
Copy link

xplosionmind commented Dec 1, 2020

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:

  • support file embedding, with ![[file-to-embed]] syntax
  • support the ability to give a different name to a wiki link, for example [[Example note|this is an example]]Add support for optional label in double-bracket links #38
  • support the ability to link to anchors inside a file, for example [[Example note#Example Anchor]]
  • handle the use of the two features above together, for example [[Example note#Example Anchor|This is an example!]]
  • support note aliases, for example when in the front matter of “beautiful note” there is aliases: ["nice note", "cute note"], writing in a markdown file [[nice note]] creates a link to “beautiful note”. Actually, Obsidian aliases don't work like this.

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
Copy link

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

@maximevaillancourt
Copy link
Owner

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

@redstreet
Copy link

redstreet commented Mar 27, 2021

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

@meewgumi
Copy link
Contributor

meewgumi commented Jun 7, 2021

@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!

Repository owner locked and limited conversation to collaborators Aug 23, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants