org: Add font-lock rule for inline export snippets
* lisp/org.el (org-set-font-lock-defaults): Add font-lock rule for inline export snippets.
This commit is contained in:
parent
c1f576a7e5
commit
eef9027cd2
|
@ -5704,6 +5704,11 @@ needs to be inserted at a specific position in the font-lock sequence.")
|
||||||
;; Description list items
|
;; Description list items
|
||||||
'("^[ \t]*[-+*][ \t]+\\(.*?[ \t]+::\\)\\([ \t]+\\|$\\)"
|
'("^[ \t]*[-+*][ \t]+\\(.*?[ \t]+::\\)\\([ \t]+\\|$\\)"
|
||||||
1 'org-list-dt prepend)
|
1 'org-list-dt prepend)
|
||||||
|
;; Inline export snippets
|
||||||
|
'("\\(@@\\)\\([a-z-]+:\\).*?\\(@@\\)"
|
||||||
|
(1 'font-lock-comment-face t)
|
||||||
|
(2 'org-tag t)
|
||||||
|
(3 'font-lock-comment-face t))
|
||||||
;; ARCHIVEd headings
|
;; ARCHIVEd headings
|
||||||
(list (concat
|
(list (concat
|
||||||
org-outline-regexp-bol
|
org-outline-regexp-bol
|
||||||
|
|
Loading…
Reference in New Issue