jagregory / atom-pandoc-preview

Pandoc-powered Previewer for Atom
MIT License
14 stars 7 forks source link

Use file type to set the pandoc from argument #1

Open jagregory opened 10 years ago

jagregory commented 10 years ago

The --from argument to pandoc could or should be set based on the current open document. The default of markdown is sensible, but pandoc supports many other file formats for input.

Bengt commented 10 years ago

Pandoc can read anything for that a reader exists, so that might be the most comprehensive list:

https://github.com/jgm/pandoc/tree/master/src/Text/Pandoc/Readers