nobiot/md-roam

wikilinks dont work

Closed this issue · 4 comments

It is fine with [title](path.md), but would not work as [[wikilinks]]. I can find the nodes with org-roam-node-find and other functions, but nodes referred by wiki links simply do not work (you cannot open the links, and they won't appear as backlinks).
Here is my configuration.

;; MD-roam for Markdown support in Org-roam
(use-package! md-roam
  :after org-roam
  :config 
  ;; (set-company-backend! 'markdown-mode 'company-capf)
  (setq org-roam-file-extensions '("org" "md"))
  (md-roam-mode 1)
  (setq md-roam-file-extension '("md" "markdown")) ; default "md". Specify an extension such as "markdown"
  (add-to-list 'org-roam-capture-templates
               '("m" "Markdown" plain "" :target
                 (file+head "10-Inbox/%<%Y%m%dT%H%M%S>-${slug}..md"
                            "---\ntitle: ${title}\nid: %<%Y-%m-%dT%H%M%S>\ncategory: \n---\n")
                 :unnarrowed t))
  (org-roam-db-autosync-mode 1)
  )

It worked fine with org-roam ui.

When you write [[wikilink]], what is wikilink? Is it a file name, title, or the ID?

When you write [[wikilink]], what is wikilink? Is it a file name, title, or the ID?

I tried both the title and ID, but none of them worked

I don't know what I have done, but by editing the config files, now I can get backlinks to work. But I still can't open the wiki links directly.

Have you toggled on the wikilink within markdown mode?

Have you toggled on the wikilink within markdown mode?

My bad, thank you so much!!!