ht_theme_markdown: A stripe theme for huxtable object

View source: R/ssformat.R

ht_theme_markdownR Documentation

A stripe theme for huxtable object

Description

This function provides a markdown stripe theme for huxtable object

Usage

ht_theme_markdown(
  ht,
  header_rows = 1:2,
  header_cols = NULL,
  border_width = 0.8,
  border_color = grey(0.75),
  bg = c(grey(0.95), "white")
)

Arguments

ht

an object of class huxtable

header_rows

a numeric vector that delimits the header zone.

border_width

a number that defines huxtable border width

border_color

a character string that defines huxtable border color

bg

a character vector that defines background color of the flextable. If length(bg) >= 2, the table will have stripe background, otherwise plain.

Value

an object of class huxtable


oucru-biostats/C306 documentation built on July 16, 2024, 2:33 p.m.