2026-10-12 20:55:39 +02:00
|
|
|
@@@argtype section_link |
|
|
|
|
|
treat the link target as a section title, not an id.
|
|
|
|
|
|
|
|
|
|
If ^:section is present but does not have a value, the section title is in
|
|
|
|
|
the current file.
|
|
|
|
|
|
|
|
|
|
If ^:section has a value, then it is the basename (no directory; no
|
|
|
|
|
extension) of the file in the same document that contains the section with
|
|
|
|
|
that title.
|
|
|
|
|
:pattern [A-Za-z0-9_.-]+
|
|
|
|
|
:default false
|
|
|
|
|
:alone true
|
|
|
|
|
@@@
|
|
|
|
|
|
2026-08-12 17:20:23 +02:00
|
|
|
@@link.k target
|
2026-07-18 18:48:23 +02:00
|
|
|
:text
|
|
|
|
|
:footnote.bool false
|
2026-10-12 20:55:39 +02:00
|
|
|
:section.section_link
|
2026-07-18 18:48:23 +02:00
|
|
|
:nq.bool false
|
|
|
|
|
:code # xxx
|
|
|
|
|
:phrase # xxx
|
|
|
|
|
:dox # xxx
|
|
|
|
|
:doxanchor # xxx
|
|
|
|
|
:id # xxx
|
2026-10-12 20:55:39 +02:00
|
|
|
:
|
|
|
|
|
|
|
|
|
|
Links within documents and to external URLs.
|
|
|
|
|
|
|
|
|
|
With ^:section the target is a section title, matched with klammer markup
|
|
|
|
|
removed and whitespace collapsed to one space. Written alone, ^:section
|
|
|
|
|
means the section is in the current file; written with a value, the value is
|
|
|
|
|
the basename of the file of the same ^@document that has the section. A
|
|
|
|
|
section link is resolved when ^@document assembles its files, so one outside
|
|
|
|
|
a ^@document is an error, as is a title the file does not have, or has more
|
|
|
|
|
than once (give one heading an ^:id and link to that).
|
|
|
|
|
|
2026-07-18 18:48:23 +02:00
|
|
|
@@
|
|
|
|
|
|
2026-08-12 17:20:23 +02:00
|
|
|
@@link.html,tex,txt :: @eval link.Link(K) eval@ @@
|
2026-07-18 18:48:23 +02:00
|
|
|
|
2026-08-12 17:20:23 +02:00
|
|
|
@@target.k id :text : A link target within a document @@
|
2026-07-18 18:48:23 +02:00
|
|
|
|
2026-08-12 17:20:23 +02:00
|
|
|
@@target.html,tex :: @eval link.Target(K) eval@ @@
|
2026-07-18 18:48:23 +02:00
|
|
|
|
2026-08-12 17:20:23 +02:00
|
|
|
@@email.k name | domain :subject :body : An email with an mangled address for HTML @@
|
2026-07-18 18:48:23 +02:00
|
|
|
|
2026-08-12 17:20:23 +02:00
|
|
|
@@email.html,tex :: @eval link.Email(K) eval@ @@
|