md_label {gluedown} | R Documentation |
Markdown link label
Description
Create the link labels that can latter be referred to with a link reference
from md_reference()
.
Usage
md_label(text, label, ..., .name = FALSE)
Arguments
text |
The text in the document to be hyperlinked. |
label |
A link label that is referenced elsewhere in the document. |
... |
A sequence of |
.name |
logical; if |
Details
A link label begins with a left bracket and ends with the first right bracket that is not backslash-escaped. Between these brackets there must be at least one non-whitespace character.
Value
A single glue
vector of length equal to that of label
and url
,
with elements the concatenated arguments.
See Also
Other leaf block functions:
md_blank()
,
md_chunk()
,
md_fence()
,
md_heading()
,
md_indent()
,
md_paragraph()
,
md_reference()
,
md_rule()
,
md_setext()
,
md_table()
Examples
md_label(CRAN = "The CRAN website")
md_label(text = c("one", "two"), label = 1:2)