mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-23 18:16:44 +00:00
![Jermolene](/assets/img/avatar_default.png)
A first pass at fixing #2973 - comments are welcome. If everybody is happy, the next step is to deprecate the existing rendertiddler(s)/savetiddler(s) commands and replace them in all examples and tiddlywiki.info files with the new equivalents.
21 lines
909 B
Plaintext
21 lines
909 B
Plaintext
title: $:/language/Help/rendertiddlers
|
|
description: Render tiddlers matching a filter to a specified ContentType
|
|
|
|
(Note: The `--rendertiddlers` command is deprecated in favour of the new, more flexible `--render` command)
|
|
|
|
Render a set of tiddlers matching a filter to separate files of a specified ContentType (defaults to `text/html`) and extension (defaults to `.html`).
|
|
|
|
```
|
|
--rendertiddlers <filter> <template> <pathname> [<type>] [<extension>] ["noclean"]
|
|
```
|
|
|
|
For example:
|
|
|
|
```
|
|
--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html ./static text/plain
|
|
```
|
|
|
|
By default, the pathname is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.
|
|
|
|
Any files in the target directory are deleted unless the ''noclean'' flag is specified. The target directory is recursively created if it is missing.
|