about summary refs log tree commit diff
path: root/docs/templates.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/templates.md')
-rw-r--r--docs/templates.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/templates.md b/docs/templates.md
index 8dff28dd1c38..8bcc2c7f5665 100644
--- a/docs/templates.md
+++ b/docs/templates.md
@@ -12,6 +12,19 @@ or in which conditionals are evaluated for more complex template logic.
 It is recommended that you check out the Golang [documentation][] for the templating
 engine in addition to the cherry-picked features listed here.
 
+<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
+**Table of Contents**
+
+- [Kontemplate templates](#kontemplate-templates)
+    - [Basic variable interpolation](#basic-variable-interpolation)
+        - [Example:](#example)
+    - [Template functions](#template-functions)
+    - [Examples:](#examples)
+    - [Conditionals & ranges](#conditionals--ranges)
+    - [Caveats](#caveats)
+
+<!-- markdown-toc end -->
+
 ## Basic variable interpolation
 
 The basic template format uses `{{ .variableName }}` as the interpolation format.