File tree Expand file tree Collapse file tree 2 files changed +35
-35
lines changed
Expand file tree Collapse file tree 2 files changed +35
-35
lines changed Original file line number Diff line number Diff line change 2727(defun org-html-markdown-style-footnotes--section (orig-fun info )
2828 (if org-html-markdown-style-footnotes
2929 (pcase (org-export-collect-footnote-definitions info)
30- (`nil nil )
31- (definitions
32- (format
33- (plist-get info :html-footnotes-section )
34- (org-html--translate " Footnotes" info)
35- (format
36- " <ol>\n %s</ol>\n "
37- (mapconcat
38- (lambda (definition )
39- (pcase definition
40- (`(, n , _ , def )
41- (format
42- " <li id=\" fn.%d\" class=\" footdef\" role=\" doc-footnote\" tabindex=\" -1\" >%s %s</li>\n "
30+ (`nil nil )
31+ (definitions
32+ (format
33+ (plist-get info :html-footnotes-section )
34+ (org-html--translate " Footnotes" info)
35+ (format
36+ " <ol>\n %s</ol>\n "
37+ (mapconcat
38+ (lambda (definition )
39+ (pcase definition
40+ (`(, n , _ , def )
41+ (format
42+ " <li id=\" fn.%d\" class=\" footdef\" role=\" doc-footnote\" tabindex=\" -1\" >%s %s</li>\n "
4343 n
44- (org-trim (org-export-data def info))
45- (format " <a href=\" #fnr.%d \" role=\" doc-backlink\" >↩︎</a> " n)))))
46- definitions
47- " \n " )))))
44+ (org-trim (org-export-data def info))
45+ (format " <a href=\" #fnr.%d \" role=\" doc-backlink\" >↩︎</a> " n)))))
46+ definitions
47+ " \n " )))))
4848 (funcall orig-fun info)))
4949
5050 ; ;;###autoload
Original file line number Diff line number Diff line change @@ -235,25 +235,25 @@ The updated copy is defined as ~org-html-markdown-style-footnotes--section~:
235235#+begin_src emacs-lisp
236236 (defun org-html-markdown-style-footnotes--section (orig-fun info)
237237 (if org-html-markdown-style-footnotes
238- (pcase (org-export-collect-footnote-definitions info)
239- (`nil nil)
240- (definitions
241- (format
242- (plist-get info :html-footnotes-section)
243- (org-html--translate "Footnotes" info)
244- (format
245- "<ol>\n%s</ol>\n"
246- (mapconcat
247- (lambda (definition)
248- (pcase definition
249- (`(,n ,_ ,def)
250- (format
251- "<li id=\"fn.%d\" class=\"footdef\" role=\"doc-footnote\" tabindex=\"-1\">%s %s</li>\n"
238+ (pcase (org-export-collect-footnote-definitions info)
239+ (`nil nil)
240+ (definitions
241+ (format
242+ (plist-get info :html-footnotes-section)
243+ (org-html--translate "Footnotes" info)
244+ (format
245+ "<ol>\n%s</ol>\n"
246+ (mapconcat
247+ (lambda (definition)
248+ (pcase definition
249+ (`(,n ,_ ,def)
250+ (format
251+ "<li id=\"fn.%d\" class=\"footdef\" role=\"doc-footnote\" tabindex=\"-1\">%s %s</li>\n"
252252 n
253- (org-trim (org-export-data def info))
254- (format "<a href=\"#fnr.%d\" role=\"doc-backlink\">↩︎</a>" n)))))
255- definitions
256- "\n")))))
253+ (org-trim (org-export-data def info))
254+ (format "<a href=\"#fnr.%d\" role=\"doc-backlink\">↩︎</a>" n)))))
255+ definitions
256+ "\n")))))
257257 (funcall orig-fun info)))
258258#+end_src
259259
You can’t perform that action at this time.
0 commit comments