fix(snippets): add UNNUMBERED notoc to sub-headings in adr/meeting/weekly

Sub-headings (Problem statement, Decision, etc.) should not appear in
TOC when using #+OPTIONS: toc:N. Main template heading remains in TOC.
This commit is contained in:
2026-02-24 15:27:09 +01:00
parent f363782bd5
commit a4df1c1634
3 changed files with 39 additions and 0 deletions

View File

@@ -10,14 +10,32 @@
| *Date* | `(format-time-string "%Y-%m-%d")` |
`(make-string (+ 2 (or (org-current-level) 0)) ?*)` Problem statement
:PROPERTIES:
:UNNUMBERED: notoc
:END:
`(make-string (+ 2 (or (org-current-level) 0)) ?*)` Decision
:PROPERTIES:
:UNNUMBERED: notoc
:END:
`(make-string (+ 2 (or (org-current-level) 0)) ?*)` Alternatives
:PROPERTIES:
:UNNUMBERED: notoc
:END:
`(make-string (+ 2 (or (org-current-level) 0)) ?*)` Justification
:PROPERTIES:
:UNNUMBERED: notoc
:END:
`(make-string (+ 2 (or (org-current-level) 0)) ?*)` Implications
:PROPERTIES:
:UNNUMBERED: notoc
:END:
`(make-string (+ 2 (or (org-current-level) 0)) ?*)` Derived requirements
:PROPERTIES:
:UNNUMBERED: notoc
:END:
$0