Does it happen to teach Tiddlywiki to others (e.g your students)? All the time they have to edit the tiddler to see what is the underlaying script/content to produce such rendered content.
I use a small view template like this
<$list filter="[all[current]!is[system]]">
<details>
<summary>Code</summary>
<$codeblock code={{!!text}} language=xml/>
</details>
</$list>
To give a try download (viewtemplate_reveal-tiddler-code.json (338 Bytes)
) and drag and drop into https://tiddlywiki.com/prerelease