md_header: Generate a Markdown header.

View source: R/html.R

md_headerR Documentation

Generate a Markdown header.

Description

Generate a Markdown header.

Usage

md_header(text, heading, extra = "", do_cat = TRUE)

Arguments

text

A character scalar: text of the header.

heading

A numeric scalar: level of the header, that is, the result will be "#" times heading.

extra

A character scalar: content to put after text, e.g. "{.tabset}" for tabbed heading.

do_cat

A logical scalar: if TRUE, print (using cat()) the result before returning.

Value

A character scalar.


bioinfocz/scdrake documentation built on Sept. 19, 2024, 4:43 p.m.