Function: markdown-ts--fontify-link-ref-destination
markdown-ts--fontify-link-ref-destination is a byte-compiled function
defined in markdown-ts-mode.el.gz.
Signature
(markdown-ts--fontify-link-ref-destination NODE OVERRIDE START END &rest _)
Documentation
Fontify link reference destination NODE and hide when markup hidden.
OVERRIDE, START, and END are passed through to
treesit-fontify-with-override.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defun markdown-ts--fontify-link-ref-destination (node override start end
&rest _)
"Fontify link reference destination NODE and hide when markup hidden.
OVERRIDE, START, and END are passed through to
`treesit-fontify-with-override'."
(treesit-fontify-with-override
(treesit-node-start node) (treesit-node-end node)
'markdown-ts-link-destination override start end)
(when markdown-ts-hide-markup
(put-text-property (treesit-node-start node) (treesit-node-end node)
'invisible 'markdown-ts--markup)))