MichalLauer / unriddle

R package that unriddles code in revealjs presentations
Other
0 stars 0 forks source link

Add #rotate functionality #3

Open MichalLauer opened 3 weeks ago

MichalLauer commented 3 weeks ago

Add a feature that can group rows that will be rotated within multiple slides. For example

ggplot(mtcars, aes(x = factor(cyl), y = disp)) +
  geom_bar() +
  theme_bw() #rotate
  theme_classic() #rotate
  theme_minimal() #rotate

generates three slides

ggplot(mtcars, aes(x = factor(cyl), y = disp)) +
  geom_bar() +
  theme_bw()
ggplot(mtcars, aes(x = factor(cyl), y = disp)) +
  geom_bar() +
  theme_classic()
ggplot(mtcars, aes(x = factor(cyl), y = disp)) +
  geom_bar() +
  theme_minimal()