Skip to content

Commit 05797b1

Browse files
committed
add: note about the new table style in the options too
1 parent 6cf8d3d commit 05797b1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

R/options.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ masked.plots$plot <- masked.plots$barplot <- masked.plots$lines <- masked.plots$
181181
#' \item \code{date}: string (default: \code{'\%Y/\%m/\%d \%X'}) passed to \code{format} when printing dates (\code{POSIXct} or \code{POSIXt})
182182
#' \item \code{header.style}: \code{'atx'} or \code{'setext'} passed to \code{\link{pandoc.header}}
183183
#' \item \code{list.style}: \code{'bullet'}, \code{'ordered'} or \code{'roman'} passed to \code{\link{pandoc.list}}. Please not that this has no effect on \code{pander} methods.
184-
#' \item \code{table.style}: \code{'multiline'}, \code{'grid'} or \code{'simple'} passed to \code{\link{pandoc.table}}
184+
#' \item \code{table.style}: \code{'multiline'}, \code{'grid'}, \code{'simple'} or \code{'rmarkdown'} passed to \code{\link{pandoc.table}}
185185
#' \item \code{table.split.table}: numeric passed to \code{\link{pandoc.table}} and also affects \code{pander} methods. This option tells \code{pander} where to split too wide tables. The default value (\code{80}) suggests the conventional number of characters used in a line, feel free to change (e.g. to \code{Inf} to disable this feature) if you are not using a VT100 terminal any more :)
186186
#' \item \code{table.split.cells}: numeric (default: \code{30}) passed to \code{\link{pandoc.table}} and also affects \code{pander} methods. This option tells \code{pander} where to split too wide cells with line breaks. Set \code{Inf} to disable.
187187
#' \item \code{evals.messages}: boolean (default: \code{TRUE}) passed to \code{evals}' \code{pander} method specifying if messages should be rendered

man/panderOptions.Rd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@
3232
\code{'ordered'} or \code{'roman'} passed to
3333
\code{\link{pandoc.list}}. Please not that this has no
3434
effect on \code{pander} methods. \item
35-
\code{table.style}: \code{'multiline'}, \code{'grid'} or
36-
\code{'simple'} passed to \code{\link{pandoc.table}}
37-
\item \code{table.split.table}: numeric passed to
35+
\code{table.style}: \code{'multiline'}, \code{'grid'},
36+
\code{'simple'} or \code{'rmarkdown'} passed to
37+
\code{\link{pandoc.table}} \item
38+
\code{table.split.table}: numeric passed to
3839
\code{\link{pandoc.table}} and also affects \code{pander}
3940
methods. This option tells \code{pander} where to split
4041
too wide tables. The default value (\code{80}) suggests

0 commit comments

Comments
 (0)