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

View File

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