mattneub / asciidoc-textmate-2.tmbundle Goto Github PK
View Code? Open in Web Editor NEWAsciiDoc bundle for TextMate 2
AsciiDoc bundle for TextMate 2
Where is the tmbundle? Maybe I'm just missing it, but I can't find it. Or maybe I don't need it?
I made a little bit customized on the script, just changed the executable path and commandline parameters when running asciidoctor, as below:
ad = '/Users/wangxu/.gem/ruby/2.7.0/bin/asciidoctor'
s = %{#{ad} --verbose -r asciidoctor-diagram -r /Users/wangxu/Documents/github/asciidoctor-extensions-lab/lib/chart-block-macro.rb -o "#{f2}" }
I open one .adoc file with asciidoctor-diagram and chart-block-macro.rb extension block, I got below error message:
asciidoctor: ERROR: document.adoc: line 34: Failed to generate image: Could not find the 'dot' executable in PATH; add it to the PATH or specify its location using the 'graphvizdot' document attribute
asciidoctor: ERROR: document.adoc: line 63: Failed to generate image: Could not find the 'blockdiag', 'blockdiag3' executable in PATH; add it to the PATH or specify its location using the 'blockdiag' document attribute
asciidoctor: ERROR: document.adoc: line 87: Failed to generate image: Could not find the 'nwdiag', 'nwdiag3' executable in PATH; add it to the PATH or specify its location using the 'nwdiag' document attribute
asciidoctor: ERROR: document.adoc: line 109: Failed to generate image: Could not find the 'smcat' executable in PATH; add it to the PATH or specify its location using the 'smcat' document attribute
The html file was generated and displayed, the other part of the html are all good, including the UML graph which is generated by asciidoctor-diagram.
I confirm the executable are all in PATH, and I started textmate via command line, as below:
WangXus-MacBook-Pro:asciidoc-digest wangxu$ which dot
/usr/local/bin/dot
WangXus-MacBook-Pro:asciidoc-digest wangxu$ which blockdiag
/usr/local/bin/blockdiag
WangXus-MacBook-Pro:asciidoc-digest wangxu$ which nwdiag
/usr/local/bin/nwdiag
WangXus-MacBook-Pro:asciidoc-digest wangxu$ which smcat
/usr/local/bin/smcat
WangXus-MacBook-Pro:asciidoc-digest wangxu$ which textmate
WangXus-MacBook-Pro:asciidoc-digest wangxu$ mate
Any idea why asciidoctor cannot find the dot/blockdiag/nwdiag/smcat etc?
BR,Austin
I would like to use your grammar for AsciiDoc but I don't know what licensing terms you're distributing it under. Any chance you could pick one from here: http://choosealicense.com?
The scenario for me to use textmate and asciidoctor is
Is there a way to automate the step #3 above?
Thanks,Austin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.