pandoc_list_formats {pandoc}R Documentation

List available supported formats

Description

List available supported formats

Usage

pandoc_list_formats(type = c("input", "output"), version = "default")

Arguments

type

Either list input or output formats. It corresponds to call --list-input-formats and --list-output-formats respectively.

version

Version to use. Default will be the "default" version. Other possible value are

  • A version number e.g "2.14.1"

  • The nightly version called "nightly"

  • The latest installed version with "latest"

  • Pandoc binary shipped with RStudio IDE with "rstudio"

  • Pandoc binary found in PATH with "system"

Value

a data.frame (or a tibble if available) with 2 column:

Examples


# which input formats are available
pandoc_list_formats()
# which output formats are available
pandoc_list_formats()


# target a specific version
pandoc_list_formats("input", version = "system")


[Package pandoc version 0.2.0 Index]