Struct pandoc::Pandoc [] [src]

pub struct Pandoc { /* fields omitted */ }

the argument builder

Methods

impl Pandoc
[src]

Get a new Pandoc object This function returns a builder object to configure the Pandoc execution.

this path is searched first for latex, then PATH, then some hardcoded hints

this path is searched first for pandoc, then PATH, then some hardcoded hints

sets or overwrites the document-class

Set whether Pandoc should print the used command-line

If set to true, the command-line to execute pandoc (as a subprocess) will be displayed on stdout.

sets or overwrites the output format

sets or overwrites the input format

adds more input files, the order is relevant the order of adding the files is the order in which they are processed

sets or overwrites the output filename

filename of the bibliography database

filename of a citation style file

enable table of contents

enable chapters

prefix section names with indices x.y.z

set a custom latex template

sets the header level that causes a new slide to be generated

set a custom variable try not to use this, there are convenience functions for most things

closures that take a json string and return a json string

generate a latex template from the given settings

Warning: this function can panic in a lot of places.

Execute the Pandoc configured command.

A successful Pandoc run can return either the path to a file written by the operation, or the result of the operation from stdio.

The PandocOutput variant returned depends on the OutputKind configured:

Trait Implementations

impl Default for Pandoc
[src]

Returns the "default value" for a type. Read more

impl Clone for Pandoc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more