As part of my attempt at a Begginers
<https://00ss.github.io/help/Adding-a-table-of-contents-to-the-sidebar.html>
section for Documentation on the TW website -
I use this in a tiddler named: *Looking inside a tiddler*
for showing how tiddlywiki stores in its HTML file a tiddler named:
*How a Tiddler is Stored in a TiddlyWiki file*
\define .write-tiddler(title, caption, created, modified, tags, type, text)
<$codeblock code="""<div caption="$(caption)$" created="$(created)$"
modified="$(modified)$" tags="$(tags)$" title="$(title)$" type="$(type)$">
<pre>$(text)$</pre>
</div>
"""/>
\end
\define .write-values(title)
<$vars title="""$title$""" caption={{$title$!!caption}} created={{$title$!!
created}} modified={{$title$!!modified}} tags={{$title$!!tags}} type={{
$title$!!type}} text={{$title$!!text}}>
<$macrocall $name=".write-tiddler"/>
</$vars>
\end
Below is how the tiddler : [[How a Tiddler is Stored in a TiddlyWiki file]]
: is stored in this ~TiddlyWiki's html file:
<<.write-values title:"""How a Tiddler is Stored in a TiddlyWiki file""">>
Hope that helps.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/c90d7274-9cc7-4c6d-b466-8b3de56a81ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.