Render individual tiddlers identified by a filter and save the results to the specified files.
Optionally, the title of a template tiddler can be specified. In this case, instead of directly rendering each tiddler, the template tiddler is rendered with the "currentTiddler" variable set to the title of the tiddler that is being rendered.
A name and value for an additional variable may optionally also be specified.
--render <tiddler-filter> [<filename-filter>] [<render-type>] [<template>] [ [<name>] [<value>] ]*[is[tiddler]addsuffix[.html]], which uses the unchanged tiddler title as the filenametext/html (the default) returns the full HTML text and text/plain just returns the text content (ie it ignores HTML tags and other unprintable material)By default, the filename is resolved relative to the output subdirectory of the edition directory. The --output command can be used to direct output to a different directory.
Notes:
--render "[[Motovun Jack.jpg]]"[encodeuricomponent[]addprefix[static/]] applies URI encoding to each title, and then adds the prefix static/--render command is a more flexible replacement for both the --rendertiddler and --rendertiddlers commands, which are deprecatedExamples:
--render "[!is[system]]" "[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]" – renders all non-system tiddlers as files in the subdirectory "tiddlers" with URL-encoded titles and the extension HTML