diff --git a/simple-comment-markup.el b/simple-comment-markup.el index b331fce..2f0b101 100644 --- a/simple-comment-markup.el +++ b/simple-comment-markup.el @@ -40,6 +40,9 @@ (:start "`" :end "`" :face font-lock-doc-markup-face)) (markdown-code (:start "`" :end "`" :face font-lock-doc-markup-face)) + (url + (:start "<" :body "https?:\\([^>\n]*\\(?:\n[ \t]*[^> \t\n][^>\n]*\\)*\\)" + :end ">" :face link)) (latex (:start "\\(" :end "\\)" :face font-lock-string-face)) (tex @@ -55,7 +58,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)))