FR: Template tags syntax suggestion
Open
- Dominant language
- Elm
- Stars
- 2.3k
- Forks
- 184
- Avg merge
- 8h 2m
- Merged PRs (30d)
- 4
Description
Template tags like `{{concerning}}` are already great especially with the pipe symbol.
One enhancement could be to make a prefix or suffix dependent on whether the template has a value. For instance:
1. `{{_:correspondent}}` would expand to `_John` if the correspondent was set, else the underscore would not be rendered;
2. `{{correspondent|concerning:_}}` would expand to `John_` if …
Contributor guide
Assessment
This issue has not been assessed yet.