nobiot / md-roam

Use Org-roam with markdown files by adding Md-roam as a plug-in. Mix org and markdown files in a single Org-roam database.
GNU General Public License v3.0
333 stars 15 forks source link

(feat) Support `[[Title of a Note]]` for backlink #37

Closed nobiot closed 2 years ago

nobiot commented 4 years ago

With Org-roam v1.2.2 (still to be released, but latest commits work), it is possible to use [[Title of a Note]] for backlinks. This should also work wiht Md-roam. I will need to investigate if there is any conflict with the current functions.

org-roam-insert is replaced with Md-roam's function to insert [[wiki-link]] where the wiki-link must be a file name without its extension.

You can manually type [[Title of a Note]] and establish a backlink (only tested casually; need a more thorough look into this).

In addition, Org-roam is working to change the syntax of [[Title of Note]] (it is one case of "fuzzy links"). I need to decide whether to implement Md-roam's own way.

nobiot commented 4 years ago

It's a bit weird but... [[Title of a Note]] back link seems to work regardless of the permutation of these variables:

(setq org-roam-enable-fuzzy-links nil) (setq org-roam-auto-replace-fuzzy-links nil)

nobiot commented 2 years ago

Done with V2