Skip to content

BrandonIrizarry/bcimd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

Introduction

This library, subsumed in a single file, consists of extras for Emacs' excellent markdown-mode.

This library contains:

  1. Functions for generating and removing a table of contents.

Demo

Generate and remove a Table of Contents

Installation

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))

Rationale

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.

Plans

  1. Erase any existing previous table of contents before generating a new one.

About

Extras for Emacs' markdown-mode package.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors