<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-us"><generator uri="https://gohugo.io/" version="0.101.0">Hugo</generator><title type="html">footnotes on A Scripter's Notes</title><subtitle type="html">Emacs, scripting and anything text oriented.</subtitle><link href="https://scripter.co/categories/footnotes/" rel="alternate" type="text/html" title="HTML"/><link href="https://scripter.co/categories/footnotes/index.xml" rel="alternate" type="application/rss+xml" title="RSS"/><link href="https://scripter.co/categories/footnotes/atom.xml" rel="self" type="application/atom+xml" title="Atom"/><link href="https://scripter.co/categories/footnotes/jf2feed.json" rel="alternate" type="application/jf2feed+json" title="jf2feed"/><updated>2026-04-22T08:24:57-04:00</updated><author><name>Kaushal Modi</name><email>kaushal.modi@gmail.com</email></author><id>https://scripter.co/categories/footnotes/</id><entry><title type="html">How to add footnotes in Octopress posts?</title><link href="https://scripter.co/how-to-add-footnotes-in-octopress-posts/?utm_source=atom_feed" rel="alternate" type="text/html"/><id>https://scripter.co/how-to-add-footnotes-in-octopress-posts/</id><published>2014-03-06T10:47:35-05:00</published><updated>2014-03-06T10:47:35-05:00</updated><content type="html"><![CDATA[<p><strong>Update (2017/02/23)</strong> &mdash; Now I use Hugo instead of Octopress for
blogging. But the same method of using <code>[^1]</code> works for creating
footnotes.</p>
<hr>
<p>While looking for a way to add footnotes to my posts, I came across
this <a href="https://hiltmon.com/blog/2013/05/08/octopress-now-has-footnotes/">post</a>.</p>
<p>Based on that, here is how I got the footnotes working:</p>
<ul>
<li>To create a footnote, use the standard MultiMarkdown <code>[^1]</code> anchor
to create the footnote reference link, and add <code>[^1]: The footnote content</code> to the bottom of the file. Footnote example<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>.</li>
<li>To make the footnotes smaller, lighter and closer together, add the
following CSS to <code>sass/custom/_styles.css</code> file:
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-css" data-lang="css"><span class="line"><span class="cl"><span class="p">.</span><span class="nc">footnotes</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">  <span class="k">font-size</span><span class="p">:</span> <span class="mi">13</span><span class="kt">px</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">  <span class="k">line-height</span><span class="p">:</span> <span class="mi">16</span><span class="kt">px</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">  <span class="k">color</span><span class="p">:</span> <span class="mh">#666</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">  <span class="err">p</span> <span class="err">{</span>
</span></span><span class="line"><span class="cl">    <span class="k">margin-bottom</span><span class="p">:</span> <span class="mi">6</span><span class="kt">px</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">  <span class="p">}</span>
</span></span><span class="line"><span class="cl"><span class="err">}</span>
</span></span></code></pre></div></li>
</ul>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>I am a little footnote. <a href="https://www.google.com">Hyperlinks</a> are also allowed here. Note that the index style <code>[Page Title][linkindex]</code> links don&rsquo;t work in the footnotes; the links have to be defined using the <code>[Page Title](link)</code> syntax.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>]]></content><category scheme="https://scripter.co/categories/octopress" term="octopress" label="octopress"/><category scheme="https://scripter.co/categories/markdown" term="markdown" label="markdown"/><category scheme="https://scripter.co/categories/footnotes" term="footnotes" label="footnotes"/></entry></feed>