org-make-toc
org-make-toc copied to clipboard
Automatic tables of contents for Org-mode files
Normalizing away nils in the 4th header component results in org warning the user that they have an empty link. The TOC does not finish generation in this case. At...
```org * TODO There is no text in this headline, and TOC update will fail. Ignoring is fine. This is degenerate. ```
``` (defun org-make-toc--link-entry-github (pos) "Return text for entry at POS converted to GitHub style link." (-when-let* ((title (org-link-display-format (org-entry-get pos "ITEM"))) (target (--> title org-link-display-format (downcase it) (replace-regexp-in-string " "...