Function: markdown-output-standalone-p

markdown-output-standalone-p is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown-output-standalone-p)

Documentation

Determine whether markdown-command output is standalone XHTML.

Standalone XHTML output is identified by an occurrence of markdown-xhtml-standalone-regexp in the first five lines of output.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-output-standalone-p ()
  "Determine whether `markdown-command' output is standalone XHTML.
Standalone XHTML output is identified by an occurrence of
`markdown-xhtml-standalone-regexp' in the first five lines of output."
  (save-excursion
    (goto-char (point-min))
    (save-match-data
      (re-search-forward
       markdown-xhtml-standalone-regexp
       (save-excursion (goto-char (point-min)) (forward-line 4) (point))
       t))))