Custom Placement
To put the support section exactly where you want it, add an empty div with the support-this class at that spot.
Configuration
extensions:
support-this:
position: custom
description: "Your support keeps this work going."
platforms:
github: coatless
patreon: username
ko_fi: username
filters: [support-this]Then, in the body of the document:
::: {.support-this}
:::The section below replaces that div:
Support This Project
Your support keeps this work going.
How the div and position work together
- The div always wins. Even with
position: topor the defaultposition: bottom, the section goes where the div is, so one page can override apositionset for a whole project. position: customtells support-this to add the section only where you put a div. If a page has none, it gets no section and the render shows a warning.- In RevealJS, the section stays on the slide that holds the div.