Skip to content

[New+] Variable expansions inside template files #48718

@michal-ruzicka

Description

@michal-ruzicka

Description of the new feature / enhancement

Allow opt-in (for example per file extension) expansion of date/time and system variables also inside text files. I have implemented that in PowerToys New+ compatible functionality implementation in Total Commander TCNewPlus plugin: https://github.com/michal-ruzicka/TCNewPlus#variable-expansion-inside-file-contents

Scenario when this would be used?

For template of of meeting minutes in Markdown format, fill in date and time and attendees also inside of the file, not only in the filename: https://github.com/michal-ruzicka/TCNewPlus/blob/main/templates/080%20%24YYYY-%24MM-%24DD%20Meeting%20Notes.md

Supporting information

It is implemented and tested in my Total Commander TCNewPlus plugin: https://github.com/michal-ruzicka/TCNewPlus

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-New+Refers to the New+ PowerToys Utility
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions