<< Pandoc_getpath Pandoc

Pandoc >> Pandoc > pandoc

pandoc

Short description

Syntax

pandoc(from,to,input_file,output_file)

Arguments

from

precise the input format (markdown, docbook, html,...)

It can convert from

to

precise the output format (html, doc, ppt, ...)

It can convert to

Pandoc can also produce PDF output via LaTeX, Groff ms, or HTML.

input_file

give the path to the input file

output_file

give the path to the output file

Description

This is a simple wrapping of the command line tool Pandoc available here: https://pandoc.org/

Examples

//This example translate scilab documentation formated as docbook, into HTML
pandoc('docbook','html','foo.xml','foo.html');
//This is the equivalent command line
//pandoc -f docbook -t html foo.xml -o foo.html

See also


Report an issue
<< Pandoc_getpath Pandoc