blob: 169c05afe48a8a8be220a91803a63e7975c2b078 [file] [log] [blame]
Hao Zhu79f1e2a2017-06-11 20:55:30 -04001% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/row_spec.R
3\name{row_spec}
4\alias{row_spec}
5\title{Specify the look of the selected row}
6\usage{
7row_spec(kable_input, row, bold = FALSE, italic = FALSE)
8}
9\arguments{
10\item{kable_input}{Output of `knitr::kable()` with `format` specified}
11
12\item{row}{A numeric value indicating which row to be selected}
13
14\item{bold}{A T/F value to control whether the text of the selected row
15need to be bolded.}
16
17\item{italic}{A T/F value to control whether the text of the selected row
18need to be emphasized.}
19}
20\description{
21This function allows users to select a row and then specify
22its look. Right now it supports the following two properties: bold text and
23italic text.
24}
25\examples{
26x <- knitr::kable(head(mtcars), "html")
27row_spec(x, 1, bold = TRUE, italic = TRUE)
28
29}