Cleaned and fixed the org link broken export error

This commit is contained in:
2026-01-17 10:06:07 +00:00
parent f797a0a768
commit 56652858bc
7 changed files with 7 additions and 78 deletions

View File

@@ -25,10 +25,10 @@
(require 'seq)
(require 'cl-lib)
(setq org-export-with-broken-links t)
;(setq org-export-with-broken-links t)
(setq org-id-locations-file "~/.emacs.d/.org-id-locations")
(defun z/org-html-wrap-content-for-stack (orig-fun contents info)
"Wrap Org HTML #content in stack container, leaving postamble outside."
(let* ((html (funcall orig-fun contents info))
@@ -194,14 +194,6 @@ Created with %c on <a href=\"https://www.archlinux.org/\">Arch</a> <a href=\"htt
;; Configure LaTeX image generation
(setq org-latex-create-formula-image-program 'imagemagick)
(setq org-roam-file-exclude-regexp
(concat
"\\.sync-conflict-"
"\\|all-files\\.org$"
"\\|#"
"\\|\\.~"
"\\|<.*>$"))
(defun my/get-org-roam-backlinks (filename)
"Return backlinks for the given org-roam file. FILENAME should be the full path to the org-roam file."
(save-excursion