Function: markdown-ts--fontify-link-destination

markdown-ts--fontify-link-destination is a byte-compiled function defined in markdown-ts-mode.el.gz.

Signature

(markdown-ts--fontify-link-destination NODE OVERRIDE START END &rest _)

Documentation

Fontify link destination NODE and hide it when markup is 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-destination (node override start end &rest _)
  "Fontify link destination NODE and hide it when markup is 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)))