.Kind (page): .Type (issues) / .Layout ()
Bundle: n/a (regular page)
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Jul 27, 2021 01:18 UTC.


This page was created/modified in commit fbaf46c "Minor edits in tests" on 2021-03-30.
Markdown source of this page

Issue 433 – Source block in a footnote

tags: issues footnote src-block


Description/Summary

Source block in an Org footnote

Content

ox-hugo Issue #433

Testing code in a footnote with a begin_src directive.1.

This doesn’t work because Hugo does not support having multi-line content in footnotes.

Due to that limitation, ox-hugo folds all footnote content onto a single line.. and so the below Org footnote:

[fn:1]
#+begin_src elisp
(emacs-version)
#+end_src

gets exported as below in the Markdown footnote:

[^fn:1]: ```elisp (emacs-version) ```

  1. elisp (emacs-version) ↩︎


Page (Debug)

Page VariableValue
Name "Issue 433 – Source block in a footnote"
Title "Issue 433 – Source block in a footnote"
ResourceType "page"
Kind "page"
Section "issues"
Draft false
Type "issues"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/issues/443-src-block-in-footnote/"
RelPermalink "/issues/443-src-block-in-footnote/"
Data
page.Data{} (type:page.Data)
NextPageIssue 430 – Disabling exporting of code blocks
PrevPageItalicize links with underscores
NextInSectionIssue 430 – Disabling exporting of code blocks
PrevInSectionox-hugo Issue 333 test

Page Params (Debug)

KeyTypeValue
descriptionstring "Source block in an Org footnote"
draftbool false
iscjklanguagebool false
lastmodtime.Time 2021-03-30 11:33:50 -0400 -0400
tags[]string "issues" "footnote" "src-block"
titlestring "Issue 433 – Source block in a footnote"

File Object (Debug)

FileInfo VariableValue
UniqueID "865dc645dbbfdcbb792cccc457097796"
BaseFileName "443-src-block-in-footnote"
TranslationBaseName "443-src-block-in-footnote"
Lang "en"
Section "issues"
LogicalName "443-src-block-in-footnote.md"
Dir "issues/"
Ext "md"
Path "issues/443-src-block-in-footnote.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.68.3 (commit 157669a0) .
[Test Site home | ox-hugo home]