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 /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/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.")