Skip to contents

Install & Manage Pandoc with this package

Install / Update / Uninstall Pandoc

pandoc_install() pandoc_update() pandoc_install_nightly()
Install a pandoc binary for Github release page
pandoc_installed_versions() pandoc_installed_latest() pandoc_is_installed()
Check Pandoc versions already installed
pandoc_uninstall()
Uninstall a Pandoc version
pandoc_available_releases()
Fetch all versions available to install

Manage versions installed by this package

Functions to find an installed version by this package

pandoc_installed_versions() pandoc_installed_latest() pandoc_is_installed()
Check Pandoc versions already installed
pandoc_locate()
Locate a specific Pandoc version installed with this package

Get path to any pandoc binary

Functions to access pandoc binary path, including external ones.

pandoc_bin() pandoc_bin_browse()
Get path to the pandoc binary
pandoc_citeproc_bin()
Get path to the pandoc-citeproc binary.
pandoc_rstudio_version() pandoc_rstudio_bin()
Retrieve path and version of Pandoc shipped with RStudio
pandoc_system_version() pandoc_system_bin()
Retrieve path and version of Pandoc found on the system PATH

Handle Pandoc version

Activate a pandoc version

Function to change active default version of Pandoc used

pandoc_activate()
Activate a specific Pandoc version to be used
with_pandoc_version() local_pandoc_version()
Execute any code with a specific Pandoc version

Check pandoc (active) version

pandoc_is_active()
Is a pandoc version active ?
pandoc_available()
Check if active Pandoc version meet a requirement
pandoc_version()
Get Pandoc version

Run pandoc binary

pandoc_run()
Run the pandoc binary from R
pandoc_convert()
Run Pandoc to convert a document or a text

List some informations built-in Pandoc binary

Functions to access from R information usually accessible by command line only

pandoc_list_abbreviations()
List system default abbreviations
pandoc_list_extensions()
List supported extensions for a format
pandoc_list_formats()
List available supported formats
pandoc_list_highlight_languages()
List supported languages for Pandoc syntax highlighting
pandoc_list_highlight_style()
List supported styles for Pandoc syntax highlighting

Export templates and other file content built-in Pandoc binary

Functions to export to file templates, reference doc and other data file

pandoc_export_data_file() pandoc_export_reference_doc()
Export Pandoc internal data file
pandoc_export_highlight_theme()
Export highlighting style as JSON file
pandoc_export_template()
Retrieve Pandoc template for a format

Browse Pandoc’s useful online resources

Functions for quickly accessing relevant online resources.

pandoc_browse_citation()
Open Pandoc's documentation about citation processing
pandoc_browse_exit_code()
Open Pandoc's documentation about exit codes
pandoc_browse_extension()
Open Pandoc's documentation about an extension
pandoc_browse_manual()
Open Pandoc's MANUAL
pandoc_browse_option()
Open Pandoc's documentation about a command line option
pandoc_browse_release()
Open Pandoc's release page in browser