add_repository_hyperlink: Replaces a placeholder in Markdown content with a hyperlink...

View source: R/utils_render_cert_md.R

add_repository_hyperlinkR Documentation

Description

Replaces a placeholder in Markdown content with a hyperlink to the repository, based on the repository type (e.g., GitHub, OSF, GitLab).

Usage

add_repository_hyperlink(md_content, repo_link)

Arguments

md_content

A character string containing Markdown content with a placeholder for the repository link.

repo_link

A character string containing the repository URL to be converted into a hyperlink.

Value

The modified markdown content.


codecheckers/codecheck documentation built on Dec. 6, 2024, 7:38 p.m.