Tinderbox v9 Icon

Prototype: Code


Broadly the setting same as the HTML prototype except that $IsTemplate remains as the default false. Use for things like storing long actions such as deeply nested if() statements, or for command line code for use with runCommand().

For notes using this prototype and which with be exported, e.g. CSS code, boilerplate text, the prototype-inherited default for $HTMLDontExport (as seen below) should be reversed locally in the code note itself.

This prototype's non-default customisations other than $IsPrototype, $Name, and intrinsic map features (height, width, etc.) are listed below.

$Badge: "design".

$Color: "lightest black".

$OnAdd: $NeverComposite=true;

$HTMLDontExport: true (ticked).

$HTMLFirstParagraphEnd: "" (empty string).

$HTMLFirstParagraphStart: "" (empty string).

$HTMLIndentedParagraphEnd: "" (empty string).

$HTMLIndentedParagraphStart: "" (empty string).

$HTMLParagraphEnd: "" (empty string).

$HTMLParagraphStart: "" (empty string).

$NoSpelling: true (ticked).

$ParagraphSpacing: 0.

$SmartLinks: false (un-ticked), v9.5.0. Existing prototypes need updating manually.

$SmartQuotes: false (un-ticked).

$Tabs: "0.375;0.375;0.375;0.375;0.375;0.375;0.375;0.375;0.375;0.375;0.375;0.375;" (see note).

$TextFont: "AndaleMono".

$Ziplinks: false (un-ticked).

Note: newly added Code prototype notes offer a dozen tab stops; existing older Code prototypes are not affected, so $Tabs may need to be updated manually if desired.