Force no indentation to text in deep headlines.

This commit is contained in:
cnngimenez 2022-04-17 16:06:05 -03:00
parent 7465109046
commit d0f2cabb2b
1 changed files with 4 additions and 2 deletions

View File

@ -212,8 +212,10 @@ holding contextual information."
(format "%c "
(nth (mod (1- low-level) (length bullets)) bullets))))
(concat bullet title "\n" pre-blanks
;; Contents, indented by length of bullet.
(org-ascii--indent-string body (length bullet))))
;; In Gemtext, text should not be indentend. Otherwise,
;; source code blocks, links, and other line types would not
;; be interpreted by clients because of the initial spacing.
body))
;; Else: Standard headline.
(concat title "\n" pre-blanks body)))))