You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of #2, we need to make a module header.
I think it's used by package managers though I haven't read up about this.
Here's an example from a random org module:
;;; org-make-toc.el --- Automatic tables of contents for Org files -*- lexical-binding: t; -*-
;; Copyright (C) 2020 Adam Porter
;; Author: Adam Porter <[email protected]>
;; URL: https://github.com/alphapapa/org-make-toc
;; Version: 0.6-pre
;; Package-Requires: ((emacs "26.1") (dash "2.12") (s "1.10.0") (org "9.3") (compat "29.1"))
;; Keywords: Org, convenience
;;; Commentary:
;; This package makes it easy to have one or more customizable tables of contents in Org files.
;; They can be updated manually, or automatically when the file is saved. Links to headings are
;; created compatible with GitHub's Org renderer.
;;;; Installation
;; Install the packages `dash' and `s'. Then put this file in your `load-path', and put this in
;; your init file:
;; (require 'org-make-toc)
;;;; Usage
;; A document may have any number of tables of contents (TOCs), each of
;; which may list entries in a highly configurable way. To make a basic
;; TOC, follow these steps:
;;
;; 1. Choose a heading to contain a TOC and go to it.
;; 2. Press `C-c C-x p' (`org-set-property'), add a `TOC' property, and
;; set its value to `:include all'.
;; 3. Run command `org-make-toc-insert' to insert the `:CONTENTS:' drawer,
;; which will contain the TOC entries.
;; 4. Run the command `org-make-toc' to update all TOCs in the document,
;; or `org-make-toc-at-point' to update the TOC for the entry at point.
The text was updated successfully, but these errors were encountered:
As part of #2, we need to make a module header.
I think it's used by package managers though I haven't read up about this.
Here's an example from a random org module:
The text was updated successfully, but these errors were encountered: