Skip to contents

Renders a pandoc document or any individual pandoc_node (block or inline) as an indented tree.

Arguments

x

A pandoc, pandoc_node, pandoc_blocks, or pandoc_inlines object.

color

For pandoc, whether to use ANSI colour when printing attached diagnostics. Defaults to whether the terminal supports it.

...

Unused; present for S3/S7 compatibility.

Value

x, invisibly.