Skip to content

Instantly share code, notes, and snippets.

@issm
Created November 23, 2013 06:24
Show Gist options
  • Save issm/7611482 to your computer and use it in GitHub Desktop.
Save issm/7611482 to your computer and use it in GitHub Desktop.
textile-mode: highlight for "bc." block as textile-code-face.
diff --git a/site-lisp/lang/textile-mode.el b/site-lisp/lang/textile-mode.el
index cbf3a05..7c5998c 100644
--- a/site-lisp/lang/textile-mode.el
+++ b/site-lisp/lang/textile-mode.el
@@ -165,6 +165,8 @@ non-matching parentheses"
`(,(textile-block-matcher "h6") 1 'textile-h6-face t t)
;; blockquotes
`(,(textile-block-matcher "bq") 1 'textile-blockquote-face t t)
+ ;; block codes
+ `(,(textile-block-matcher "bc") 1 'textile-code-face t t)
;; footnotes
`(,(textile-block-matcher "fn[0-9]+") 1 'textile-footnote-face t t)
;; footnote marks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment