pandoc-markdown-book-template
pandoc-markdown-book-template copied to clipboard
Pandoc error
Hi.
I'm getting this error:
pandoc -S --toc --epub-embed-font='fonts/*.ttf' -o book.epub metadata.txt contents.markdown
--smart/-S has been removed. Use +smart or -smart extension instead.
For example: pandoc -f markdown+smart -t markdown-smart.
Try pandoc --help for more information.
Do you have the new syntax? I'm running pandoc 2.0.4 on OSX.
Hi! I haven't tried that out yet. Can you remove -S and see if it works? Thank you! 😄
I took a look at the pandoc manual (https://pandoc.org/MANUAL.html), and it looks like this is a casing issue. instead of
pandoc -S It should be pandoc -s. IOW, use a lower case s
Awesome! That seems to be it. I think pandoc updated and it was changed because the command worked the last time I checked. Thanks!
@dkbrummitt do you wanna make a PR to change this on the README?
@johnpaulada I've created the PR.