rst-font-lock-keywords
rst-font-lock-keywords is a variable defined in `
rst.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Keywords to highlight in rst mode.
Value:
(("^[ ]*\\([-*+•‣⁃]\\(?:[ ]+\\|$\\)\\)" 1 rst-block-face)
("^[ ]*\\(\\(?:\\(?:[a-zA-Z]\\|[0-9]+\\|[IVXLCDMivxlcdm]+\\|#\\)\\.\\|(?\\(?:[a-zA-Z]\\|[0-9]+\\|[IVXLCDMivxlcdm]+\\|#\\))\\)\\(?:[ ]+\\|$\\)\\)" 1 rst-block-face)
("^[ ]*\\(:\\(?:[^:\n]\\|\\\\:\\)+:\\)\\(?:[ ]+\\|$\\)" 1 rst-external-face)
("^[ ]*\\(\\(?:\\(?:[-+/]\\|--\\)\\sw\\(?:-\\|\\sw\\)*\\(?:[ =]\\S +\\)?\\)\\(?:\\(?:,[ ]\\)\\(?:\\(?:[-+/]\\|--\\)\\sw\\(?:-\\|\\sw\\)*\\(?:[ =]\\S +\\)?\\)\\)*\\)\\(?:$\\|[ ]\\{2\\}\\)" 1 rst-block-face)
("^[ ]*\\(|\\(?:[ ]+\\|$\\)\\)[^|\n]*$" 1 rst-block-face)
("^[ ]*\\(\\.\\.[ ]+\\)\\(\\[[^]\n]+]\\)\\(?:[ ]+\\|$\\)"
(1 rst-definition-face)
(2 rst-definition-face))
("^[ ]*\\(\\.\\.[ ]+\\)\\(\\(?:|\\(?:\\S \\|\\S \\(?:[^|\\\n]\\|\\\\.\\)\\{0,1000\\}[^ |\\]\\)|[ ]+\\)?\\)\\(\\(?:\\sw+\\(?:[-+.:_]\\sw+\\)*\\)::\\)\\(?:[ ]+\\|$\\)"
(1 rst-directive-face)
(2 rst-definition-face)
(3 rst-directive-face))
("^[ ]*\\(\\.\\.[ ]+_\\(?:`\\(?:\\S \\|\\S \\(?:[^`\\\n]\\|\\\\.\\)\\{0,1000\\}[^ `\\]\\)`\\|\\(?:[^:\\\n]\\|\\\\.\\)+\\):\\)\\(?:[ ]+\\|$\\)" 1 rst-definition-face)
("^[ ]*\\(__\\)\\(?:[ ]+\\|$\\)" 1 rst-definition-face)
("\\(?:^\\|[ ]\\|[-'\"([{<‘“«’/:]\\)\\(\\*\\*\\(?:\\S \\|\\S \\(?:[^*\\]\\|\\\\.\\)\\{0,1000\\}[^ *\\]\\)\\*\\*\\)\\(?:$\\|[ ]\\|[]-'\")}>’”»/:.,;!?\\]\\)" 1 rst-emphasis2-face)
("\\(?:^\\|[ ]\\|[-'\"([{<‘“«’/:]\\)\\(\\*\\(?:\\S \\|\\S \\(?:[^*\\]\\|\\\\.\\)\\{0,1000\\}[^ *\\]\\)\\*\\)\\(?:$\\|[ ]\\|[]-'\")}>’”»/:.,;!?\\]\\)" 1 rst-emphasis1-face)
("\\(?:^\\|[ ]\\|[-'\"([{<‘“«’/:]\\)\\(``\\(?:\\S \\|\\S \\(?:[^`\\]\\|\\\\.\\)\\{0,1000\\}[^ `\\]\\)``\\)\\(?:$\\|[ ]\\|[]-'\")}>’”»/:.,;!?\\]\\)" 1 rst-literal-face)
("\\(?:^\\|[ ]\\|[-'\"([{<‘“«’/:]\\)\\(_`\\(?:\\S \\|\\S \\(?:[^`\\]\\|\\\\.\\)\\{0,1000\\}[^ `\\]\\)`\\)\\(?:$\\|[ ]\\|[]-'\")}>’”»/:.,;!?\\]\\)" 1 rst-definition-face)
("\\(?:^\\|[ ]\\|[-'\"([{<‘“«’/:]\\)\\(\\(?:`\\(?:\\S \\|\\S \\(?:[^`\\]\\|\\\\.\\)\\{0,1000\\}[^ `\\]\\)`\\|\\sw\\(?:\\sw\\|-\\)+\\sw\\)__?\\)\\(?:$\\|[ ]\\|[]-'\")}>’”»/:.,;!?\\]\\)" 1 rst-reference-face)
("\\(?:^\\|[ ]\\|[-'\"([{<‘“«’/:]\\)\\(\\(?::\\(?:\\sw+\\(?:[-+.:_]\\sw+\\)*\\):\\)?\\)\\(`\\(?:\\S \\|\\S \\(?:[^`\\]\\|\\\\.\\)\\{0,1000\\}[^ `\\]\\)`\\)\\(\\(?::\\(?:\\sw+\\(?:[-+.:_]\\sw+\\)*\\):\\)?\\)\\(?:$\\|[ ]\\|[]-'\")}>’”»/:.,;!?\\]\\)"
(1 rst-directive-face)
(2 rst-external-face)
(3 rst-directive-face))
("\\(?:^\\|[ ]\\|[-'\"([{<‘“«’/:]\\)\\(\\[[^]\n]+]_\\)\\(?:$\\|[ ]\\|[]-'\")}>’”»/:.,;!?\\]\\)" 1 rst-reference-face)
("\\(?:^\\|[ ]\\|[-'\"([{<‘“«’/:]\\)\\(|\\(?:\\S \\|\\S \\(?:[^|\\]\\|\\\\.\\)\\{0,1000\\}[^ |\\]\\)|\\)\\(?:$\\|[ ]\\|[]-'\")}>’”»/:.,;!?\\]\\)" 1 rst-reference-face)
("\\(?:^\\|[ ]\\|[-'\"([{<‘“«’/:]\\)\\(\\(?:acap\\|cid\\|data\\|dav\\|fax\\|file\\|ftp\\|gopher\\|http\\|https\\|imap\\|ldap\\|mailto\\|mid\\|modem\\|news\\|nfs\\|nntp\\|pop\\|prospero\\|rtsp\\|service\\|sip\\|tel\\|telnet\\|tip\\|urn\\|vemmi\\|wais\\):\\S +\\)\\(?:$\\|[ ]\\|[]-'\")}>’”»/:.,;!?\\]\\)" 1 rst-definition-face)
("\\(?:^\\|[ ]\\|[-'\"([{<‘“«’/:]\\)\\(\\(?:\\sw+\\(?:[-+.:_]\\sw+\\)*\\)@\\(?:\\sw+\\(?:[-+.:_]\\sw+\\)*\\)\\)\\(?:$\\|[ ]\\|[]-'\")}>’”»/:.,;!?\\]\\)" 1 rst-definition-face)
("^\\(\\([]!\"#$%&'()*+,./:;<=>?@[\\^_`{|}~-]\\)\\2\\{2,\\}\\)[ ]*$"
(rst-font-lock-handle-adornment-matcher
(rst-font-lock-handle-adornment-pre-match-form
(match-string-no-properties 1)
(match-end 1))
nil
(1
(cdr
(assoc nil rst-adornment-faces-alist))
append t)
(2
(cdr
(assoc rst-font-lock-adornment-level rst-adornment-faces-alist))
append t)
(3
(cdr
(assoc nil rst-adornment-faces-alist))
append t)))
("^[ ]*\\(\\.\\.[ ]+\\)[^[|_\n]\\(?:[^:\n]\\|:\\(?:[^:\n]\\|$\\)\\)*$"
(1 rst-comment-face)
(rst-font-lock-find-unindented-line-match
(rst-font-lock-find-unindented-line-limit
(match-end 1))
nil
(0 rst-comment-face append)))
("^[ ]*\\(\\.\\.\\)\\([ ]*\\)$"
(1 rst-comment-face)
(2 rst-comment-face)
(rst-font-lock-find-unindented-line-match
(rst-font-lock-find-unindented-line-limit 'next)
nil
(0 rst-comment-face append)))
("^[ ]*\\(\\(?:[^.\n]\\|\\.[^.\n]\\).*\\)?\\(::\\)$"
(2 rst-block-face)
(rst-font-lock-find-unindented-line-match
(rst-font-lock-find-unindented-line-limit t)
nil
(0 rst-literal-face append)))
("^[ ]*\\(\\(?:>>>\\|\\.\\.\\.\\)\\)\\(.+\\)"
(1 rst-block-face)
(2 rst-literal-face)))