feat: add yasnippet snippets dir — ADR for org-mode and markdown-mode
This commit is contained in:
18
snippets/markdown-mode/adr
Normal file
18
snippets/markdown-mode/adr
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: ADR - Architectural Decision Record
|
||||||
|
# key: adr
|
||||||
|
# --
|
||||||
|
# ADR-${1:0001}: ${2:Title}
|
||||||
|
|
||||||
|
- **Date:** `(format-time-string "%Y-%m-%d")`
|
||||||
|
- **Status:** ${3:Proposed}
|
||||||
|
|
||||||
|
## Context
|
||||||
|
${4:Describe the context and problem statement.}
|
||||||
|
|
||||||
|
## Decision
|
||||||
|
${5:Describe the decision and rationale.}
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
${6:Describe the resulting context after applying the decision.}
|
||||||
|
$0
|
||||||
19
snippets/org-mode/adr
Normal file
19
snippets/org-mode/adr
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# -*- mode: snippet -*-
|
||||||
|
# name: ADR - Architectural Decision Record
|
||||||
|
# key: adr
|
||||||
|
# --
|
||||||
|
* ADR-${1:0001}: ${2:Title}
|
||||||
|
:PROPERTIES:
|
||||||
|
:date: `(format-time-string "%Y-%m-%d")`
|
||||||
|
:status: ${3:Proposed}
|
||||||
|
:END:
|
||||||
|
|
||||||
|
** Context
|
||||||
|
${4:Describe the context and problem statement.}
|
||||||
|
|
||||||
|
** Decision
|
||||||
|
${5:Describe the decision and rationale.}
|
||||||
|
|
||||||
|
** Consequences
|
||||||
|
${6:Describe the resulting context after applying the decision.}
|
||||||
|
$0
|
||||||
Reference in New Issue
Block a user