mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
42 lines
1,008 B
D
42 lines
1,008 B
D
// PERMUTE_ARGS:
|
|
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
|
|
// TEST_OUTPUT_FILE: extra-files/ddoc_markdown_links.html
|
|
// OUTPUT_FILES: ${RESULTS_DIR}/compilable/ddoc_markdown_links.html
|
|
|
|
/++
|
|
# Links
|
|
|
|
[D Site]: https://dlang.org 'D lives here'
|
|
[unused reference]: https://nowhere.com
|
|
|
|
A link to [printf].
|
|
|
|
A link to [the base object][Object].
|
|
|
|
Not a link because it's an associative array: int[Object].
|
|
|
|
An inline link to [the D homepage](https://dlang.org).
|
|
|
|
A reference link to [the **D** homepage][d site].
|
|
|
|
Not a reference link because it [links to nothing][nonexistent].
|
|
|
|
A simple link to [dub].
|
|
|
|
A slightly less simple link to [dub][].
|
|
|
|
An image: 
|
|
Another image: ![D-Man again][dman-error]
|
|
|
|
[dub]: <https://code.dlang.org>
|
|
[dman-error]: https://dlang.org/images/dman-error.jpg
|
|
|
|
$(P
|
|
[tour]: https://tour.dlang.org
|
|
|
|
Here's a [reference to the tour][tour] inside a macro.
|
|
)
|
|
+/
|
|
module test.compilable.ddoc_markdown_links;
|
|
|
|
import core.stdc.stdio;
|