2014-02-25 14:50:37 +00:00
title: $:/language/Help/rendertiddlers
description: Render tiddlers matching a filter to a specified ContentType
2017-09-12 15:04:07 +00:00
(Note: The `--rendertiddlers` command is deprecated in favour of the new, more flexible `--render` command)
2014-02-25 14:50:37 +00:00
Render a set of tiddlers matching a filter to separate files of a specified ContentType (defaults to `text/html`) and extension (defaults to `.html`).
```
2020-05-14 13:31:32 +00:00
--rendertiddlers '<filter>' <template> <pathname> [<type>] [<extension>] ["noclean"]
2014-02-25 14:50:37 +00:00
```
For example:
```
2020-05-14 13:31:32 +00:00
--rendertiddlers '[!is[system]]' $:/core/templates/static.tiddler.html ./static text/plain
2014-02-25 14:50:37 +00:00
```
2014-04-25 21:41:59 +00:00
2014-04-27 07:28:21 +00:00
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.
2015-09-29 16:04:01 +00:00
Any files in the target directory are deleted unless the ''noclean'' flag is specified. The target directory is recursively created if it is missing.