Variable: markdown-regex-html-tag
markdown-regex-html-tag is a variable defined in markdown-mode.el.
Value
"\\(</?\\)\\(\\w+\\)\\(\\(\\s-+\\(\\<[[:alpha:]:-]+\\>\\)\\(\\s-*\\(=\\)\\s-*\\(\".*?\"\\|'.*?'\\|[^'\">[:space:]]+\\)?\\)?\\)+\\s-*\\|\\s-*\\)\\(/?>\\)"
Documentation
Regular expression for matching HTML tags.
Groups 1 and 9 match the beginning and ending angle brackets and slashes. Group 2 matches the tag name. Group 3 matches all attributes and whitespace following the tag name.
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defconst markdown-regex-html-tag
(concat "\\(</?\\)\\(\\w+\\)\\(\\(\\s-+" markdown-regex-html-attr
"\\)+\\s-*\\|\\s-*\\)\\(/?>\\)")
"Regular expression for matching HTML tags.
Groups 1 and 9 match the beginning and ending angle brackets and slashes.
Group 2 matches the tag name.
Group 3 matches all attributes and whitespace following the tag name.")