markdown-oxide icon indicating copy to clipboard operation
markdown-oxide copied to clipboard

Obsidian.nvim Integration

Open Feel-ix-343 opened this issue 1 year ago • 7 comments

  • [ ] Obsidian Nvim RFC

Feel-ix-343 avatar Apr 26 '24 13:04 Feel-ix-343

Related

  • #21
  • #40

Feel-ix-343 avatar May 19 '24 22:05 Feel-ix-343

With the focus on developing v1, this is not so much of a priority to me -- this and that the v0 APIs are not good enough to support any real integration.

This can be a task for one v1 is developed; it will have better parsing and APIs that will really be helpful to obsidian.nvim.

Feel-ix-343 avatar Aug 05 '24 22:08 Feel-ix-343

That being said, if Obsidian.nvim is still interested in integrating, we could start discussing the shape of the API.

This could steer the direction of v1 development.

Feel-ix-343 avatar Aug 05 '24 22:08 Feel-ix-343

Related to this is being able to use aliases in wiki links. For example, if I have a file "Questions" that has the alias "Question", using `[[Question]]`` inside a file will cause markdown-oxide to add a diagnostic saying that the reference is not found. Obsidian.nvim however is able to find the reference.

joshpetit avatar Aug 06 '24 18:08 joshpetit

Hey! Thanks for the comment!

markdown-oxide actually does support aliases, but it is currently under the aliases property.

Obsidian does not support a link in the form [[Question]], and if you see in the Obsidian editor, completions for Question will complete as [[file|Question]]. markdown-oxide does the same.

Given it follows the behavior of Obsidian, I don't quite think this should change -- unless of course one is okay with their notes not working in Obsidian.

Feel-ix-343 avatar Aug 06 '24 22:08 Feel-ix-343

Hey! Thanks for the comment!

markdown-oxide actually does support aliases, but it is currently under the aliases property.

Obsidian does not support a link in the form [[Question]], and if you see in the Obsidian editor, completions for Question will complete as [[file|Question]]. markdown-oxide does the same.

Given it follows the behavior of Obsidian, I don't quite think this should change -- unless of course one is okay with their notes not working in Obsidian.

Phenomenal point thank you. I don't actually use obsidian, just the nvim plugin haha. I'm looking forward to seeing where markdown oxide goes!

joshpetit avatar Aug 07 '24 02:08 joshpetit

I don't actually use obsidian, just the nvim plugin haha

Yep, and I don't even think you're the outlier!

An interesting ecosystem have here!

I appreciate the encouragement.

Hope to see you around.

Feel-ix-343 avatar Aug 07 '24 02:08 Feel-ix-343

(if i forget to do this in v1, please reopen)

Feel-ix-343 avatar Sep 09 '24 04:09 Feel-ix-343