-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathusage.tid
13 lines (11 loc) · 1 KB
/
usage.tid
1
2
3
4
5
6
7
8
9
10
11
12
13
title: $:/plugins/gt6796c/pseudocode-tw5/usage
!pseudocode
Use the ``<$pseudocode>`` widget and place the pseudocode commands within it. Any of the options that can be specified
in the ``.render()`` options variable can be specified as JSON-encoded values in attributes of the same name on the widgets.
The values of the attributes can also be the title of Data Tiddlers and the values will be used from the referenced Tiddler.
You can set the type of a Tiddler to text/vnd.tiddlywiki.pseudocode and use the native commands directly in the Tiddler body. You can
add fields that are the names below prefixed with 'pseudocode'. So "theme" becomes "pseudocode-theme"
!!Notes
*JSON encoding only allows double-quotes ``"`` as string delimiters
*JSON encoding requires double-quotes around single string values
*The body of the text is parsed as a Tiddler. If you need conflicting elements, use either the ``text`` attribute on the widget or set the type field to ``text/vnd.tiddlywiki.pseudocode`` and transclude the whole Tiddler