md_issue: Markdown GitHub issue

View source: R/md-issue.R

md_issueR Documentation

Markdown GitHub issue

Description

Take a character vector and numeric vector and concatenate them into a glue vector of valid GitHub issue autolinks (username/repo#issue).

Usage

md_issue(repo, num)

Arguments

repo

A character vector in the format "user/rep".

num

The issue or pull number without hash symbol.

Details

Within conversations on GitHub, references to issues and pull requests are automatically converted to shortened links.

Value

A character vector which GitHub can automatically hyperlink.

See Also

Other inline functions: md_autolink(), md_bold(), md_code(), md_convert(), md_disallow(), md_escape(), md_hardline(), md_image(), md_italic(), md_link(), md_softline(), md_strike(), md_text()

Other markdown extensions: md_strike(), md_table()

Examples

md_issue("kiernann/gluedown", 1:5)

gluedown documentation built on Nov. 2, 2023, 5:48 p.m.