Variable: markdown-regex-footnote

markdown-regex-footnote is a variable defined in markdown-mode.el.

Value

"\\(?1:\\[\\^\\)\\(?2:.+?\\)\\(?3:\\]\\)"

Documentation

Regular expression for a footnote marker [^fn].

Group 1 matches the opening square bracket and carat. Group 2 matches only the label, without the surrounding markup. Group 3 matches the closing square bracket.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defconst markdown-regex-footnote
  "\\(?1:\\[\\^\\)\\(?2:.+?\\)\\(?3:\\]\\)"
  "Regular expression for a footnote marker [^fn].
Group 1 matches the opening square bracket and carat.
Group 2 matches only the label, without the surrounding markup.
Group 3 matches the closing square bracket.")