Ox-hugo export all roam to Hugo

Ox-hugo export all roam to Hugo

June 4, 2020 | emacs, orgmode, hugo, orgroam, roam


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.


No notes link to this note

Go to random page