@@ -693,11 +693,12 @@ holding contextual information."
|
|||||||
(make-string
|
(make-string
|
||||||
(if org-rst-headline-spacing (car org-rst-headline-spacing)
|
(if org-rst-headline-spacing (car org-rst-headline-spacing)
|
||||||
(org-element-property :pre-blank headline)) ?\n))
|
(org-element-property :pre-blank headline)) ?\n))
|
||||||
(customid (org-element-property :CUSTOM_ID headline))
|
(id (org-element-property :ID headline))
|
||||||
(label (when customid
|
(customid (org-element-property :CUSTOM_ID headline)))
|
||||||
(format ".. _%s:\n\n" customid))))
|
|
||||||
(concat
|
(concat
|
||||||
(or label "")
|
(if customid
|
||||||
|
(format ".. _%s:\n\n" customid)
|
||||||
|
(if id (format ".. _%s:\n\n" id) ""))
|
||||||
(org-rst--build-title headline info 'underline)
|
(org-rst--build-title headline info 'underline)
|
||||||
"\n" pre-blanks
|
"\n" pre-blanks
|
||||||
contents))))
|
contents))))
|
||||||
|
|||||||
Reference in New Issue
Block a user