Variable: markdown-regex-leanpub-sections

markdown-regex-leanpub-sections is a variable defined in markdown-mode.el.

Value

"^\\({\\)\\(\\(?:appendix\\|backmatter\\|frontmatter\\|mainmatter\\|pagebreak\\)\\)\\(}\\)[     ]*\n"

Documentation

Regular expression for Leanpub section markers and related syntax.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defconst markdown-regex-leanpub-sections
  (concat
   "^\\({\\)\\("
   (regexp-opt '("frontmatter" "mainmatter" "backmatter" "appendix" "pagebreak"))
   "\\)\\(}\\)[ \t]*\n")
  "Regular expression for Leanpub section markers and related syntax.")