Function: markdown-match-leanpub-sections

markdown-match-leanpub-sections is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown-match-leanpub-sections LAST)

Documentation

Match Leanpub section markers from point to LAST.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-match-leanpub-sections (last)
  "Match Leanpub section markers from point to LAST."
  (when (markdown-match-inline-generic markdown-regex-leanpub-sections last)
    (unless (or (markdown-inline-code-at-pos-p (match-beginning 0))
                (markdown-inline-code-at-pos-p (match-end 0))
                (markdown-in-comment-p))
      t)))