0

I'm attempting to annotate a file with footnotes using Jekyll. My _config.yml file is set thusly:

markdown: kramdown

This is how I'm attempting to use the footnotes:

<p>As trade-off talking rational economic people [^1], we are constantly making choices that have different costs associated with them.</p>
[^1]: http://en.wikipedia.org/wiki/Trade-off_talking_rational_economic_person`

But viewing it in my local machine it doesn't seem to parse the first footnote. This is how it shows up:

"As trade-off talking rational economic people [^1], we are constantly making choices that have different costs associated with them."

The footnote definition does not appear.

Any insight would be greatly appreciated!

1 Answers1

2

You have to tell kramdown to parse inside html, This can be done in your code, like this :

<p markdown="1">As trade-off talking rational economic people [^1], we are constantly making choices that have different costs associated with them.</p>

Or, you can configure kramdown in your _config.yml

# be sure that you use kramdown as markdown processor
markdown: kramdown

# configure kramdown
kramdown:
  parse_block_html: true

See kramdown documentation

David Jacquel
  • 46,880
  • 4
  • 106
  • 132
  • I tried confirguring kramdown, which didn't seem to do anything. However, telling it to parse within the paragraph tags worked perfectly. – Allison Atwill Feb 08 '15 at 06:20