Closed sindzicat closed 6 years ago
This will be fixed for Asciidoctor.js, it's a standard attibute so it should work, will be tracked on issue https://github.com/joaompinto/asciidoctor-vscode/issues/82 .
About using Ruby, yes, it should work, but not all features will be available, do you get an error on the preview window ?
Thanks
I need to export the result as HTML. Only Ruby version of Asciidoctor can do this.
Also, there are some plugins for Asciidoctor. They are on Ruby only...
but not all features will be available
Sorry, what features will not be available?
@sindzicat I will add an option to export to HTML (using AsciidoctorJS), yes asciidoctor (Ruby) has many plugins, that's why the option to use Ruby is still supported.
Right now the following features do not work with Asciidoctor Ruby:
Hello,
Can you clarify if Asciidoctor (ruby) can be used for live preview ? Currently, I think it does not work as I get different results between live preview and manual asciidoctor invocation.
For example, I want to use the pygments plugin but it does not work in live preview
My config
"AsciiDoc.use_asciidoctor_js": false,
"AsciiDoc.asciidoctor_command": "/usr/bin/asciidoctor"
@rohel01 Asciidoctor ruby should work (with the limitations reported above), do you get any error in the preview window ?
@joaompinto The error message in the preview window is
Pygments: uninitialized constant Pygments
Also, is there a way to provide arguments to Asciidoctor ? For example, it would be nice to have diagrams preview
asciidoctor -r asciidoctor-diagram my-note.adoc
Currently, I get no errors nor warnings, but my plantuml scripts are not rendered
2018-08-01 18:42 GMT+02:00 João Pinto notifications@github.com:
@rohel01 https://github.com/rohel01 Asciidoctor ruby should work (with the limitations reported above), do you get any error in the preview window ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/joaompinto/asciidoctor-vscode/issues/81#issuecomment-409640547, or mute the thread https://github.com/notifications/unsubscribe-auth/AI7wK3I5-Xkbiw1xUGYydWN3e2nMq0Hlks5uMdpxgaJpZM4TvXWQ .
Dear @joaompinto, glad to see progress is being made on this issue.
I have checked the referenced PR, and it will help using asciidoctor-diagram.
Do you think this will also fix my issue regarding Pygments ?
@rohel01 pygments should work using the ruby version, do you still have the problem ? Do you get some error ?
I am still using 0.15.0. I can test a new release if you make one available.
I am installing from source as documented in the README.
There was an update a few minutes ago, you can use the extension package:
https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix
The link to the vsix is dead
Le lun. 20 août 2018 à 12:26, João Pinto notifications@github.com a écrit :
There was an update a few minutes ago, you can use the extension package:
https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/joaompinto/asciidoctor-vscode/issues/81#issuecomment-414270022, or mute the thread https://github.com/notifications/unsubscribe-auth/AI7wKxIz615IwwJ-B0KeXWvNcEyKJ4f8ks5uSo7MgaJpZM4TvXWQ .
Sorry, that correct link is:
Using the vsix you supplied, I configured itto use my ruby install of Asciidoctor. I am happy to confirm that the live preview now can:
Thank you for your work
Le lun. 20 août 2018 à 13:00, João Pinto notifications@github.com a écrit :
Sorry, that correct link is:
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/joaompinto/asciidoctor-vscode/issues/81#issuecomment-414278083, or mute the thread https://github.com/notifications/unsubscribe-auth/AI7wK-OEIDi0MCaUekf0bMHwNzlRIQQhks5uSpbCgaJpZM4TvXWQ .
Hello!
My
test.adoc
:Attribute
{docname}
doesn't work in asciidoctor.js and AsciiDoc VSCode extension but works nice when I use asciidoctor (ruby version).I tried in settings:
but this didn't help me.
Is this possible to use Asciidoctor (ruby) unstead of asciidoctor.js?
Best regards, Andrey.