What does `indent` do in JInja templates?

Hi all,
Pretty self explanatory, I’m just wondering what indent does in jinja templates such as
{{ plot_script | indent(4) }}


@thomktz That is a Jinja filter, and as the name suggests, it indents all the rendered text by the specified amount. The Jinja docs for indent are here:


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.