Variable: markdown-regex-declarative-metadata
markdown-regex-declarative-metadata is a variable defined in
markdown-mode.el.
Value
"^[ ]*\\(?:-[ ]*\\)?\\([[:alpha:]][[:alpha:] _-]*?\\)\\([:=][ ]*\\)\\(.*\\)$"
Documentation
Regular expression for matching declarative metadata statements.
This matches MultiMarkdown metadata as well as YAML and TOML assignments such as the following:
variable: value
or
variable = value
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defconst markdown-regex-declarative-metadata
"^[ \t]*\\(?:-[ \t]*\\)?\\([[:alpha:]][[:alpha:] _-]*?\\)\\([:=][ \t]*\\)\\(.*\\)$"
"Regular expression for matching declarative metadata statements.
This matches MultiMarkdown metadata as well as YAML and TOML
assignments such as the following:
variable: value
or
variable = value")