-
-
Notifications
You must be signed in to change notification settings - Fork 7
Persist Blocks
Björn Platte edited this page Jan 16, 2026
·
1 revision
Persist blocks allow you to add your own custom notes to GitHub issue and PR files without them being overwritten during sync.
{% persist "notes" %}
## My Notes
- Your custom content here
- Will never be overwritten!
{% endpersist %}-
Smart Updates: Files are only updated if GitHub data has changed (checks the
updatedfield) - Content Protection: Everything inside persist blocks is preserved during sync
- Position Preservation: Blocks stay exactly where you placed them using surrounding text as anchors
{% persist "block-name" %}
Your content here...
{% endpersist %}
- Block names must be unique within each file
- Use descriptive names like
"notes","todos","analysis"
You can have multiple persist blocks in one file:
{% persist "notes" %}
## My Notes
General thoughts about this issue...
{% endpersist %}
{% persist "todos" %}
## My Tasks
- [ ] Review code
- [ ] Test locally
- [x] Read description
{% endpersist %}
{% persist "related" %}
## Related
- [[Other Issue]]
- [[Project Notes]]
{% endpersist %}Add persist blocks to your content template:
---
title: "{title_yaml}"
number: {number}
---
# {title}
{body}
{comments}
{% persist "notes" %}
## Notes
{% endpersist %}- Place at the end - Putting persist blocks at the end of your template is safest
- Use meaningful names - Makes it clear what each block is for
- Don't nest blocks - Persist blocks cannot be nested inside each other
- Keep formatting simple - Complex formatting might affect position detection