Learn R Programming

mdthemes (version 0.1.0)

md_theme_cowplot: cowplot Markdown Themes

Description

{cowplot} themes supporting markdown syntax

Usage

md_theme_cowplot(...)

md_theme_half_open(...)

md_theme_map_cow(...)

md_theme_minimal_grid(...)

md_theme_minimal_hgrid(...)

md_theme_minimal_vgrid(...)

md_theme_nothing(...)

Arguments

...

Arguments passed on to the corresponding theme in package {cowplot}

Value

An object of class theme that can be added to any ggplot

See Also

as_md_theme()

Examples

Run this code
# NOT RUN {
library(ggplot2)
data(mtcars)

p <- ggplot(mtcars, aes(hp, mpg)) +
  geom_point() +
  labs(
    title = "A **bold** title",
    subtitle = "An *italics* subtitle",
    caption = "A <span style = 'color:blue'>blue</span> caption"
  )

# With a 'usual' theme the text is not rendered
p

# By adding an 'md' theme the text is rendered properly
p + md_theme_minimal_grid()

# }

Run the code above in your browser using DataLab