Skip to content

Commit 519a0eb

Browse files
DavidLiedleclaude
andcommitted
Fix: skip unresolvable example links during export
The book contains org-mode link examples (e.g. [[*Project Alpha]], [[id:meeting-2025-01-15]]) that are for illustration only and don't resolve to real targets. Set org-export-with-broken-links t so the exporter skips them gracefully instead of crashing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9d4d816 commit 519a0eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

publish.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
;; not a notebook. Blocks are displayed verbatim.
2222
org-export-use-babel nil
2323
;; Convert file:chapter.org links → chapter.html in HTML export
24-
org-html-link-org-files-as-html t)
24+
org-html-link-org-files-as-html t
25+
;; Example links in the text (e.g. [[*Project Alpha]]) won't
26+
;; resolve — skip them rather than crashing.
27+
org-export-with-broken-links t)
2528

2629
;; Use htmlize for syntax highlighting when available
2730
(when (require 'htmlize nil t)

0 commit comments

Comments
 (0)