Ox-hugo export all roam to Hugo
Export all org-roam files to Hugo markdown (this might take some time)
From: jethrokuan/dots
(defun benmezger/org-roam-export-all ()
"Re-exports all Org-roam files to Hugo markdown."
(interactive)
(dolist (f (org-roam--list-all-files))
(with-current-buffer (find-file f)
(when (s-contains? "SETUPFILE" (buffer-string))
(org-hugo-export-wim-to-md)))))
Adding an empty #+SETUPFILE:
forces benmezger/org-roam-export-all
to export
the file.