Skip to content

Commit

Permalink
Fetch diagram is unsupported (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie authored Nov 12, 2023
1 parent b02252f commit acf6a52
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,20 +115,7 @@ If this is an issue it is also possible to use your own Kroki instance (see [the

To enable diagram support, set the `asciidoc.extensions.enableKroki` setting to `true`.

To cache and save diagrams locally set the `:kroki-fetch-diagram:` AsciiDoc attribute in your document header:

```asciidoc
= My Amazing Document
:kroki-fetch-diagram:
```

This will store images by default in your document folder, however you may also set `imagesdir` to store them elsewhere:

```asciidoc
= My Amazing Document
:kroki-fetch-diagram:
:imagesdir: media
```
**❗ Important:** Please note that `:kroki-fetch-diagram:` is currently not supported because it relies on `unxhr` which does not work in VS Code (https://github.com/ggrossetie/unxhr/issues/98).

### Use Asciidoctor.js extensions

Expand Down

0 comments on commit acf6a52

Please sign in to comment.