Table 2 shows the constructs for creating links.
name/arity | Create a link to a predicate |
`name/arity` | Create a link to a predicate |
``name/arity`` | Predicate indicator that does not create a link |
name//arity | Create a link to a DCG rule |
`name//arity` | Create a link to a DCG rule |
``name//arity`` | DCG indicator that does not create a link |
flag `name` | Create a link to the Prolog flag name if this flag exists. |
name.ext | If <name>.<ext>
is the name of an existing file and <ext> is one of .pl , .txt ,
.md , .png , .gif , .jpeg ,
.jpg or .svg , create a link to the file. |
prot | If <prot>
is one of http , https or ftp ,
create a link. |
| Create a hyperlink to URL. This construct supports the expand_url_path/2 using the construct <alias>:<local>. <local> can be empty. |
| Create
a link using the given <label>. Label can be text or a
reference to an image file. Additional arguments can be supplied as
<name>=" <value>" .
More arguments are separated by commas. <link> must be
a filename as above or a url. |
| The markdown version of the above. |
| Include
LaTeX citation. Multiple citations can be saparated using .
No white space is allowed. |