fmash16 / ssg5

My custom script for a posix compliable static site generator built by Roman Zolotarev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't use pandoc to convert markdown document

DrakeWhu opened this issue · comments

Hi, I installed ssg5 on WSL, using Ubuntu as my distro. I'm using the command
pandoc <name.md> and I'm getting

bash: syntax error near unexpected token `newline'

A friend suggested to take out the <>, I did it and got a different error
pandoc name.md

pandoc: name.md: openBinaryFile: permission denied (Permission denied)

Hi, as you are getting a permission denied error, which directory are you in? Does your user have read/write permissions in that directory?

I have not used WSL much and so don't know much about it. The openBinaryFile error, as I read in some other threads, might arouse from some sort of sandboxing WSL might or might not use. I will try to reproduce your error and get back asap. I might need to know which directory you are running the commands from.

I'm on the directory C:\Users\WINDOWS_USER\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\home\UBUNTU_USER\code\ssg5

I don't know if I have read/write permission but I can check it and try to give myself permission to see if it works

I have yet to learn how to use WSL