branch: externals/org-modern commit d6e1c77a9f668e2e2e44880d9aaf911ce91be1d9 Author: tecosaur <t...@tecosaur.com> Commit: GitHub <nore...@github.com>
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 1770720cdf..1939dc97ee 100644 --- a/org-modern.el +++ b/org-modern.el @@ -556,7 +556,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