You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
632 B

4 years ago
////
Included in:
- user-manual: relative links
- writers-guide
////
If you want to link to an external file relative to the current document, use the `link` macro in front of the file name.
[source]
----
include::ex-url.adoc[tag=link]
----
If your file is an HTML file, you can link directly to a section in the document, append a hash (`#`) followed by the section's ID to the end of the file name.
[source]
----
include::ex-url.adoc[tag=hash]
----
////
You can also create links that refer to sections within the current document.
[source]
----
link:user-manual.html[URLs]
----
====
link:user-manual.html[URLs]
====
////