Function: markdown-fontify-region-wiki-links
markdown-fontify-region-wiki-links is a byte-compiled function defined
in markdown-mode.el.
This function is obsolete since 2.8.
Signature
(markdown-fontify-region-wiki-links FROM TO)
Documentation
Search region given by FROM and TO for wiki links and fontify them.
If a wiki link is found check to see if the backing file exists and highlight accordingly.
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-fontify-region-wiki-links (from to)
"Search region given by FROM and TO for wiki links and fontify them.
If a wiki link is found check to see if the backing file exists
and highlight accordingly."
(goto-char from)
(save-match-data
(while (re-search-forward markdown-regex-wiki-link to t)
(when (not (markdown-code-block-at-point-p))
(let ((highlight-beginning (match-beginning 1))
(highlight-end (match-end 1))
(file-name
(markdown-convert-wiki-link-to-filename
(markdown-wiki-link-link))))
(with-no-warnings
(if (condition-case nil (file-exists-p file-name) (error nil))
(markdown-highlight-wiki-link
highlight-beginning highlight-end 'markdown-link-face)
(markdown-highlight-wiki-link
highlight-beginning highlight-end 'markdown-missing-link-face))))))))