style: fix indentation
This commit is contained in:
parent
8bec97a8a0
commit
86f211ba50
17
ox-gemini.el
17
ox-gemini.el
@ -139,16 +139,15 @@ contextual information."
|
|||||||
(org-ascii--current-text-width section info)
|
(org-ascii--current-text-width section info)
|
||||||
info))))
|
info))))
|
||||||
(org-remove-indentation
|
(org-remove-indentation
|
||||||
(if (not (org-string-nw-p links)) contents-str
|
(if (not (org-string-nw-p links)) contents-str
|
||||||
(concat (org-element-normalize-string contents-str) "\n\n" links))
|
(concat (org-element-normalize-string contents-str) "\n\n" links))
|
||||||
;; Do not apply inner margin if parent headline is low level.
|
;; Do not apply inner margin if parent headline is low level.
|
||||||
(let ((headline (org-export-get-parent-headline section)))
|
(let ((headline (org-export-get-parent-headline section)))
|
||||||
(if (or (not headline) (org-export-low-level-p headline info)) 0
|
(if (or (not headline) (org-export-low-level-p headline info)) 0
|
||||||
(plist-get info :ascii-inner-margin))))))
|
(plist-get info :ascii-inner-margin))))))
|
||||||
|
|
||||||
(defun org-gemini--build-title
|
(defun org-gemini--build-title (element info _text-width &optional _underline _notags toc)
|
||||||
(element info _text-width &optional _underline _notags toc)
|
"Build a title heading.
|
||||||
"Build a title heading.
|
|
||||||
|
|
||||||
ELEMENT is an org-element. TOC is whether to show the table of contents.
|
ELEMENT is an org-element. TOC is whether to show the table of contents.
|
||||||
INFO is unimportant."
|
INFO is unimportant."
|
||||||
|
Loading…
Reference in New Issue
Block a user