aboutsummaryrefslogtreecommitdiff
path: root/sx-question-print.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-24 04:14:27 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-24 04:14:27 -0200
commita359f7cca7751372437b853fc648081acffc5b63 (patch)
treed5272f8f7cfd2d0daf9d958c27dfcae27501bf7d /sx-question-print.el
parent6f64e45d5a957b768fb238406a64167753edd434 (diff)
Handle the `kbd` html tag
Diffstat (limited to 'sx-question-print.el')
-rw-r--r--sx-question-print.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/sx-question-print.el b/sx-question-print.el
index 3b4069d..84dbe44 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -414,6 +414,8 @@ END should be a marker."
;; Handle stuff between the two tags.
(save-match-data (sx-question-mode--process-html-tags l r))
(cond
+ ((string= tag "kbd")
+ (add-text-properties l r '(face markdown-inline-code-face)))
((string= tag "sub")
(add-text-properties
l r '(face sx-question-mode-sub-sup display (raise -0.3))))