branch: externals/org-modern commit a1de2ead317b256879495ee05aa607ab58f83943 Author: tecosaur <t...@tecosaur.com> Commit: Daniel Mendler <m...@daniel-mendler.de>
Horizontal rules can be indented (#61) --- org-modern.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-modern.el b/org-modern.el index 813c97316a..620374b73a 100644 --- a/org-modern.el +++ b/org-modern.el @@ -558,7 +558,7 @@ You can specify a font `:family'. The font families `Iosevka', `Hack' and ,@(and (eq org-modern-hide-stars 'leading) '((1 '(face nil invisible t)))) ,@(and (eq org-modern-hide-stars t) '((0 '(face nil invisible t))))))) (when org-modern-horizontal-rule - '(("^-\\{5,\\}$" 0 '(face org-modern-horizontal-rule display (space :width text))))) + '(("^[ \t]*-\\{5,\\}$" 0 '(face org-modern-horizontal-rule display (space :width text))))) (when org-modern-table '(("^[ \t]*\\(|.*|\\)[ \t]*$" (0 (org-modern--table))))) (when org-modern-block