import spawnPandoc from "./spawn-pandoc" ; export default function html ( path ) { spawnPandoc ( `-s ${ path } -t html5 -o index.html` , { cwd : path } , function ( err , stdout , stdrr ) { if ( err ) { return ; } console . log ( stdout . trim ( ) ) ; return stdout . trim ( ) ; } ) ; }