<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Markdown on Much Ado About IT</title><link>https://it.knightnet.org.uk/tags/markdown/</link><description>
Recent content about Markdown from Much Ado About IT |
Ramblings and rantings from IT Architect &amp; Designer, Julian Knight</description><generator>Hugo | gohugo.io | Theme twenty-sixteen</generator><language>en-gb</language><copyright>This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</copyright><lastBuildDate>Mon, 24 Apr 2023 21:27:28 +0000</lastBuildDate><atom:link href="https://it.knightnet.org.uk/tags/markdown/feed.xml" rel="self" type="application/rss+xml"/><item><title>How to create a page toc</title><link>https://it.knightnet.org.uk/kb/ghjekyll/generate-toc/</link><guid isPermaLink="true">https://it.knightnet.org.uk/kb/ghjekyll/generate-toc/</guid><pubDate>Tue, 02 Jan 2018 17:00:00 +0000</pubDate><guid>https://it.knightnet.org.uk/kb/ghjekyll/generate-toc/</guid><description><div>If you want to generate a table of contents list (toc) for a markdown file, you can use the native Kramdown feature.</div><div>&lt;p>If you want to generate an in-page table of contents using markdown headings, you can do so with the following code.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">*&lt;/span> This list entry is required but will not be shown, it is replaced by the toc
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">{:toc}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></div></description><author>Julian Knight</author><category domain="https://it.knightnet.org.uk/categories/development">Development</category><category domain="https://it.knightnet.org.uk/tags/jekyll">Jekyll</category><category domain="https://it.knightnet.org.uk/tags/static-site-generators">Static Site Generators</category><category domain="https://it.knightnet.org.uk/tags/markdown">Markdown</category><category domain="https://it.knightnet.org.uk/tags/kramdown">Kramdown</category></item></channel></rss>