This library, subsumed in a single file, consists of extras for Emacs' excellent markdown-mode.
This library contains:
- Functions for generating and removing a table of contents.
Insert anywhere in your load path. use-package vc-install should
work too where available, viz.:
(use-package bcimd
:vc (:url "https://github.com/BrandonIrizarry/bcimd" :rev :newest))I'm using Eleventy to write a blog. However, manually updating the Table of Contents "infrastructure"—inserting anchor tags, along with updating the Table of Contents itself—became a hassle, especially when deciding on exactly how to divide the post into sections. I found myself becoming stingy over the number of sections a post had, just so that I could avoid repeated editing. So, I decided that was that, and automated that step away with some Elisp.
- Erase any existing previous table of contents before generating a new one.
