Markdown theme with optional ANSI color support and grid customization
theme_markdown(
x,
ansi = FALSE,
style = NULL,
vline = NULL,
hline = NULL,
hline_header = NULL,
...
)
A modified tinytable
object.
A tinytable
object.
Logical. If TRUE, enables ANSI color codes for grid styling. Default is FALSE.
Character. Markdown style format. Can be "grid" or "gfm". Default is NULL.
Logical. Enable/disable vertical lines. Default is TRUE.
Logical. Enable/disable horizontal lines. Default is TRUE.
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.