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

Preview for inter document cross reference #35

Closed
redtankd opened this issue Oct 23, 2017 · 2 comments
Closed

Preview for inter document cross reference #35

redtankd opened this issue Oct 23, 2017 · 2 comments

Comments

@redtankd
Copy link

From Asciidoctor's User Manual

= Document Title
ifdef::env-github,env-browser[:outfilesuffix: .adoc]

See the <<README#,README>>.

We could also write the link as link:README{outfilesuffix}[README].

The links in the generated document will now point to README.adoc instead of the default, README.html.

It is supported in asciidoctor-vscode?

@joaompinto
Copy link
Contributor

asciidoctor-vscode uses asciidoctor for the rendering, so yes, it supports everything that you get with the plain ascidoctor .

@redtankd
Copy link
Author

Two more question.

How to use ifdef in vscode? env-github,env-browser is not supported.

Are anchors supported in inter-document cross reference? It seems not to work.

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

2 participants