View source: R/theme_markdown.R
| theme_markdown | R Documentation |
Markdown theme with optional ANSI color support and grid customization
theme_markdown(
x,
ansi = FALSE,
style = NULL,
vline = NULL,
hline = NULL,
hline_header = NULL,
...
)
x |
A |
ansi |
Logical. If TRUE, enables ANSI color codes for grid styling. Default is FALSE. |
style |
Character. Markdown style format. Can be "grid" or "gfm". Default is NULL. |
vline |
Logical. Enable/disable vertical lines. Default is TRUE. |
hline |
Logical. Enable/disable horizontal lines. Default is TRUE. |
hline_header |
Logical. Enable/disable the special header separator line below column names. Default is TRUE. |
... |
Additional arguments (ignored). |
When ansi = TRUE, colors and text styling (bold, italic, strikeout, underline)
are applied using ANSI escape sequences for terminal display. ANSI colors require
a terminal or application that supports ANSI escape sequences. Common supported
terminals include: Terminal.app (macOS), iTerm2 (macOS), Windows Terminal, most
Linux terminals, RStudio Console, and VS Code terminal. Colors may not display
correctly in basic text editors or older terminals.
A modified tinytable object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.