From c36f31074b09930e8425963f39d5508da6d2c32d Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Tue, 14 Nov 2023 21:19:13 -0800 Subject: [PATCH] * eldoc-box.el (eldoc-box-markdown-separator): New face. --- eldoc-box.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eldoc-box.el b/eldoc-box.el index b40ed18..b86ac0a 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -84,6 +84,10 @@ (defface eldoc-box-body '((t . nil)) "Body face used in documentation childframe.") +(defface eldoc-box-markdown-separator '((t . ( :strike-through t + :height 0.4))) + "Face for the separator line in Markdown.") + (defcustom eldoc-box-lighter " ELDOC-BOX" "Mode line lighter for all eldoc-box modes. If the value is nil, no lighter is displayed." @@ -723,8 +727,7 @@ childframe." (prop-match-beginning prop) (prop-match-end prop) `( display ,eldoc-box--markdown-separator-display-props - face ( :strike-through t - :height 0.4))))))) + face eldoc-box-markdown-separator)))))) (defun eldoc-box--replace-en-space () "Display the en spaces in documentation as regular spaces."