Function: markdown-get-undefined-refs
markdown-get-undefined-refs is a byte-compiled function defined in
markdown-mode.el.
Signature
(markdown-get-undefined-refs)
Documentation
Return a list of undefined Markdown references.
Result is an alist of pairs (reference . occurrences), where
occurrences is itself another alist of pairs (label . line-number).
For example, an alist corresponding to [Nice editor][Emacs] at line 12,
[GNU Emacs][Emacs] at line 45 and [manual][elisp] at line 127 is
(("emacs" ("Nice editor" . 12) ("GNU Emacs" . 45)) ("elisp" ("manual" . 127))).
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-get-undefined-refs ()
"Return a list of undefined Markdown references.
Result is an alist of pairs (reference . occurrences), where
occurrences is itself another alist of pairs (label . line-number).
For example, an alist corresponding to [Nice editor][Emacs] at line 12,
\[GNU Emacs][Emacs] at line 45 and [manual][elisp] at line 127 is
\((\"emacs\" (\"Nice editor\" . 12) (\"GNU Emacs\" . 45)) (\"elisp\" (\"manual\" . 127)))."
(markdown-for-all-refs markdown-collect-undefined))