link
.link content:{InlineMarkdownContent} \
url:{String} \
title:{InlineMarkdownContent? = null} \
foreground:{Color? = null} \
background:{Color? = null} \
border:{Color? = null} \
borderwidth:{Sizes? = null} \
borderstyle:{NodeStyle.BorderStyle? = null} \
alignment:{NodeStyle.Alignment? = null} \
textalignment:{NodeStyle.TextAlignment? = null} \
margin:{Sizes? = null} \
padding:{Sizes? = null} \
radius:{Sizes? = null} \
fontsize:{TextTransformData.Size? = null} \
fontweight:{TextTransformData.Weight? = null} \
fontstyle:{TextTransformData.Style? = null} \
fontvariant:{TextTransformData.Variant? = null} \
textdecoration:{TextTransformData.Decoration? = null} \
textcase:{TextTransformData.Case? = null}
-> NodeContent copied to clipboard
Creates a link.
As a Link primitive, this function can be used in .extend to affect all links in the document, including those introduced by the standard [text](url) Markdown syntax:
.extend {link} where:{url: .url::startswith {https://}}
.super foreground:{blue}Content copied to clipboard
Return
a wrapped Link node
Parameters
content
- Likely a body argument
inline label of the link
url
URL the link points to
title
- Optional
- Likely named
optional inline title used as the tooltip
border
border color. Default if unset and borderwidth is set
borderwidth
border width. Default if unset and border is set
textcase