Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unresolved directive in <stdin> - include:: #240

Closed
pbrentlinger opened this issue Apr 18, 2018 · 4 comments
Closed

Unresolved directive in <stdin> - include:: #240

pbrentlinger opened this issue Apr 18, 2018 · 4 comments
Milestone

Comments

@pbrentlinger
Copy link

My main.adoc and ch1.adoc are in the same file.


include::ch1.adoc[]

== Attributes

.Built-in
asciidoctor-version:: {asciidoctor-version}
safe-mode-name:: {safe-mode-name}
docdir:: {docdir}

adocinclude_failure

This works fine with asciidoctor and asciidoctor-pdf.
similar to asciidoctor/asciidoctor-firefox-addon#21

@ggrossetie ggrossetie added this to the 1.5.6.100 milestone Apr 18, 2018
@ggrossetie
Copy link
Member

Hello @pbrentlinger
Are you using Firefox ?
I'm pretty sure this issue is already fixed on master. I will release a new version in a few days 😉

ggrossetie added a commit to ggrossetie/asciidoctor-chrome-extension that referenced this issue Apr 19, 2018
Otherwise Firefox cannot resolve include directive with relative path.
@ggrossetie
Copy link
Member

I was wrong this issue is still present on master. I've just submitted a pull request to fix it 🐛

ggrossetie added a commit to ggrossetie/asciidoctor-chrome-extension that referenced this issue Apr 19, 2018
Otherwise Firefox cannot resolve include directive with relative path.
ggrossetie added a commit to ggrossetie/asciidoctor-chrome-extension that referenced this issue Apr 20, 2018
Otherwise Firefox cannot resolve include directive with relative path.
ggrossetie added a commit to ggrossetie/asciidoctor-chrome-extension that referenced this issue Apr 20, 2018
Otherwise Firefox cannot resolve include directive with relative path.
@Foadsf
Copy link

Foadsf commented Oct 18, 2019

I have Firefox Quantum 69.0.3 on Windows 10 version 1809 and the AsciiDoc plugin can't render the include::foo.bar[] directive:

Unresolved directive in baz.adoc - include::foo.bar[]

the Document can be seen here.

@ggrossetie
Copy link
Member

I think it's related to #302

Could you please try this workaround: #302 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants