Add url markup construct

This commit is contained in:
TEC 2022-10-16 16:02:09 +08:00
parent be707641f0
commit 49cc8b5851
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 3 additions and 1 deletions

View File

@ -40,6 +40,8 @@
(:start "`" :end "`" :face font-lock-doc-markup-face))
(markdown-code
(:start "`" :end "`" :face font-lock-doc-markup-face))
(url
(:start "<" :body "https?:[^>\n]*[^ >\n]" :end ">" :face link))
(latex
(:start "\\(" :end "\\)" :face font-lock-string-face))
(tex
@ -55,7 +57,7 @@
(const :function))
:value-type sexp)))
(defcustom simple-comment-markup-set 'org
(defcustom simple-comment-markup-set '(org url)
"docstring"
:type '(choice symbol (repeat symbol)))