asciidoctor / asciidoctor-vscode

AsciiDoc support for Visual Studio Code using Asciidoctor
Other
323 stars 97 forks source link

use local plantuml installation #479

Closed BMBurstein closed 9 months ago

BMBurstein commented 2 years ago

Is there a way to use a local plantuml (e.g. a command-line tool) instead of starting a plantuml server? I am using this plugin on an offline windows machine, and that would greatly simplify it's usage

tigion commented 2 years ago

One way or workaround would be:

  1. install the Asciidoctor tools and their dependencies locally
  2. configure the Asciidoctor VSCode extension to use the locally installed Asciidoctor instead of the JavaScript variant

Extension settings:

mike-stock commented 9 months ago

These configuration options are no longer valid.

Any other solution to this issue?

ggrossetie commented 9 months ago

You should use Kroki with a document attribute:

:kroki-server-url: http://localhost:8080/

We won't support Asciidoctor Diagram in the VS Code Extension since we dropped the CLI feature in 3.x. If you want to use Asciidoctor Diagram you can still use it but oustide of the VS Code Extension.