Function: markdown-stylesheet-link-string

markdown-stylesheet-link-string is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown-stylesheet-link-string STYLESHEET-PATH)

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-stylesheet-link-string (stylesheet-path)
  (concat "<link rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\""
          (or (and (string-match-p (rx (or "~" "./" "../")) stylesheet-path)
                   (expand-file-name stylesheet-path))
              stylesheet-path)
          "\"  />"))