Open gardenias opened 6 years ago
I'm having the same issue after installing asciidoctor-diagram
(not sure if related though).
I tried this sample adoc file, but not reproduced.
Maybe command you set is wrong. asciidoctor located in your $PATH. other toolchains as well like asciidoctor-diagram.
I set values PATH
in this plugin's settings page
/Users/stewie/.rbenv/versions/2.3.1/bin:/Users/stewie/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0:/usr/local/bin
Atom: 1.23.3 x64 OS: Mac OS X 10.13.3 plugin: asciidoctor-preview package 0.3.2
It was a default command, removing -r asciidoctor-diagram
solved issue for me.
But of course it introduced other issue - diagrams not rendered in preview, I don't really care, but perhaps something still should be fixed. BTW, command containing asciidoctor-diagram
running in terminal works fine.
[Enter steps to reproduce:]
asciidoctor {{{filePath}}}
ctrl-alt-o
preview the fileAtom: 1.24.0-beta3 x64 Electron: 1.6.15 OS: Mac OS X 10.13.1 Thrown From: asciidoctor-preview package 0.3.2
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open '/var/folders/cs/s04c8lpn62bgf8j09wjnfbcr0000gn/T/asciidoctor118029-51043-ha36rt.hxkh8v9529/temp.html'
Commands
Non-Core Packages