skills/Text Variables
Load a text file and replace Nunjucks style variables. Returns modified text as an output for use in other actions.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| template-file | The path to a text file to load as the template. | no | — |
| template-text | The template text with variable placeholders. Disables loading from file. | no | — |
| template-vars | A JSON object containing variables to replace in the text. | yes | — |
Outputs
| name | description |
|---|---|
| updated-text | The text content with variables replaced. |