Leanpub Header

Skip to main content
All forums

Leanpub Author Forum

Community discussions

Footnote in heading renders literally

Gregor Hohpe8/11/2026
Questions

I have a footnote reference in a subheading. It used to work fine, but now it's being rendered in the subheading. Source is:

### Why buy it when you can build it?[^using_joke]


Result is attached. Any chance to fix this?



4 replies

Gregor Hohpe8/11/2026

I just saw this in the spec, so I guess it's not a bug it's a feature...


Footnote and endnote support is required for paragraphs only

Hey Gregor,

We'll look into how difficult this is to support, but for now I guess just add the footnote to the first sentence of the paragraph under the heading? You are correct that currently it does not work -- just tried it to confirm ... in this example, note1 does not work but note2 does:


# Getting Started


Welcome to Leanpub!


## Why buy it when you can build it?[^note1]


Foo[^note2]


[^note1]: This is the note 1 footnote content.


[^note2]: This is the note 2 footnote content.


Update: we'll probably have this fix deployed tomorrow.


We now support footnotes in headings, and I've updated the Markua spec 😎

Log in to join the discussion.