about | blog | config | notes | github

1. Automatic Table of Contents for Org Files

org-make-toc is a simple package for automatically generating table of contents buffers within Org-mode files. This was very useful when I maintained large files, but now that everything is mostly split up, I seldom use it.

2. Configuration

2.1. Setup Dependencies

We nee to make sure Org-mode is setup first as we will need to hook to it.

(require 'init-org)

2.2. Package Install

Install the org-make-toc package.

(use-package org-make-toc
  :hook (org-mode . org-make-toc-mode))

2.3. Feature Provide

(provide 'init-org-make-toc)

Created: 2021-11-13

Emacs 26.1 (Org mode 9.5)