Function: markdown-make-gfm-fence-regex
markdown-make-gfm-fence-regex is a byte-compiled function defined in
markdown-mode.el.
Signature
(markdown-make-gfm-fence-regex NUM-BACKTICKS &optional END-OF-LINE)
Documentation
Return regexp matching a GFM code fence at least NUM-BACKTICKS long.
END-OF-LINE is the regexp construct to indicate end of line; $ if missing.
Source Code
;; Defined in /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/markdown-mode.el
(defsubst markdown-make-gfm-fence-regex (num-backticks &optional end-of-line)
"Return regexp matching a GFM code fence at least NUM-BACKTICKS long.
END-OF-LINE is the regexp construct to indicate end of line; $ if
missing."
(format "%s%d%s%s" "^[[:blank:]]*\\([`]\\{" num-backticks ",\\}\\)"
(or end-of-line "$")))