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 16:04:07 +01: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 15:31:32 +02:00
--rendertiddlers '<filter>' <template> <pathname> [<type>] [<extension>] ["noclean"]
2014-02-25 14:50:37 +00:00
```
For example:
```
2020-05-14 15:31:32 +02:00
--rendertiddlers '[!is[system]]' $:/core/templates/static.tiddler.html ./static text/plain
2014-02-25 14:50:37 +00:00
```
2014-04-25 22:41:59 +01:00
2014-04-27 08:28:21 +01: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 17:04:01 +01: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.