<< 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,...)

to

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

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