“`html
📖 Reading time: {{reading_time}} minutes
{{ $(‘Add Internal Links’).item.json.output }}
{{/markdown}}
{{#if hasTrenches}}
{{/if}}
“`
### How the template works
1. **Reading‑time block** – Insert the calculated minutes into `{{reading_time}}`.
2. **Table of Contents** – A pre‑render loop populates the `
- ` with anchors (`#{{id}}`) derived from each heading in the markdown.
3. **Markdown conversion** – The placeholder `{{ $(‘Add Internal Links’).item.json.output }}` contains the full markdown source.
– The rendering engine should:
* Convert `#`, `##`, `###` into `
