"Fossies" - the Fresh Open Source Software Archive

Member "dmd-2.089.1/test/compilable/ddoc_markdown_links.d" (14 Dec 2019, 970 Bytes) of package /linux/misc/dmd-2.089.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) D source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 // PERMUTE_ARGS:
    2 // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o- -preview=markdown
    3 // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh
    4 
    5 /++
    6 # Links
    7 
    8 [D Site]: https://dlang.org 'D lives here'
    9 [unused reference]: https://nowhere.com
   10 
   11 A link to [partition].
   12 
   13 A link to [the base object][Object].
   14 
   15 Not a link because it's an associative array: int[Object].
   16 
   17 An inline link to [the D homepage](https://dlang.org).
   18 
   19 A reference link to [the **D** homepage][d site].
   20 
   21 Not a reference link because it [links to nothing][nonexistent].
   22 
   23 A simple link to [dub].
   24 
   25 A slightly less simple link to [dub][].
   26 
   27 An image: ![D-Man](https://dlang.org/images/d3.png)
   28 Another image: ![D-Man again][dman-error]
   29 
   30 [dub]: <https://code.dlang.org>
   31 [dman-error]: https://dlang.org/images/dman-error.jpg
   32 
   33 $(P
   34     [tour]: https://tour.dlang.org
   35 
   36     Here's a [reference to the tour][tour] inside a macro.
   37 )
   38 +/
   39 module test.compilable.ddoc_markdown_links;
   40 
   41 import std.algorithm.sorting;