Add $:/core/templates/plain-text and $:/core/templates/rendered-text (#10017)

* Add $:/core/templates/plain-text core template

This template renders a single `text` variable as plain text using the
<$text> widget. It enables exporting and downloading dynamic strings
via messages like `tm-download-file` using the `variables` paramObject,
eliminating the need to create temporary tiddlers in the wiki store
purely for rendering purposes.

* add release note

* add rendered text template

* update change note
This commit is contained in:
Théophile Desmedt authored and GitHub committed 2026-09-08 09:38:27 +01:00
1 parent ddc59ee77b
commit 3aec096a07
3 files changed
+18

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
title: $:/core/templates/plain-text
<$text text=<<text>>/>
+3
View File
@@ -0,0 +1,3 @@
title: $:/core/templates/rendered-text
<<text>>
@@ -0,0 +1,12 @@
change-category: internal
change-type: feature
created: 20260906234108933
description: Added new $:/core/templates/plain-text core template for rendering raw variables
github-contributors: DesignThinkerer
github-links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/10017
modified: 20260906234439533
release: 5.5.0
tags: $:/tags/ChangeNote
title: $:/changenotes/5.5.0/#10017
Added two new core template, `$:/core/templates/plain-text` and `$:/core/templates/rendered-text` that renders respectively a single `text` variable as plain text or wikitext. This allows to export and download dynamic strings via messages like `tm-download-file`, without creating temporary tiddlers in the wiki store.