asciidoctor-vscode icon indicating copy to clipboard operation
asciidoctor-vscode copied to clipboard

[Windows Only][Antora Support] `include::example$something` not working on windows

Open eZioPan opened this issue 1 year ago • 0 comments
trafficstars

vscode version: 1.89.1 asciidoctor extension version: 3.2.3 and also from master branch asciidoctor/asciidoctor-vscode@39a3e20


For example, there is a python source code inside src/modules/something/examples/some_python_code.py

And I try include::example$some_python_code.py[] in adoc.

But the vscode extension shows an error like this:

include file not found: .../src/modules/something/pages/examples$some_python_code.py

It seems the extension didn't parse examples$some_python_code.py as a ResourceID at all.

This only happens on windows with example$something syntax. On Linux it just works fine. And if I use include::../examples/something[] on windows, it also works fine.

eZioPan avatar May 21 '24 12:05 eZioPan