Sidenotes

Papicu supports footnotes out of the box thanks to Jekyll and kramdown. But some people (sidenote: Like me.) , if given the chance to choose between footnotes and sidenotes, would much prefer the latter. And that’s why Papicu supports them.

Our sidenotes were heavily inspired by the code published by Koos Looijesteijn (sidenote: Check out his blog post Making semantic sidenotes without JavaScript.) .

Usage

Insert a sidenote with the following line anywhere in your Markdown content (sidenote: Example content.) :

... anywhere in your Markdown content {% include sidenote.html label="example" content="Example content." %}

Testing sidenotes in different contexts

Here are sidenotes applied to some “less conventional” elements:

Second, a sidenote inside a <blockquote> tag (sidenote: Use either raw HTML or Markdown syntax inside sidenotes. Both work.) .

Third, a few sidenotes inside a set of <details> and <summary> tags (sidenote: Ahoy!)

A sidenote goes here (sidenote: Sidenotes everywhere.) .

Another one here (sidenote: Almost there.) .

  • And now the very last one
  • A sidenote inside a list inside a <blockquote> inside a <details> (sidenote: Almost there yet.)

Person, Work (sidenote: Now, the gran finale:

Some convoluted sn-content. Cite link. Another link. And also some “quotes.”
)

Known issues

A couple of caveats when using sidenotes within Papicu:

March 2022