-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flair + flipbooks = love #15
Comments
Tweet thread of initial discussion. Idea on basic interface: I am wondering if you could take in a user-specified flair function (e.g. generated by ex. simple user code: ```{r demo-pipes, include = FALSE}
mpg %>%
select(year, cty, hwy) %>%
filter(hwy > 25)
```
```{r flair-fun, include = FALSE}
highlight_pipes <- decorate_flipbook() %>%
flair("%>%")
```
`r chunk_reveal("cars", break_type = "auto", flair_fun = highlight_pipes)`
--- So that Per @EvaMaeRey twitter comment, when |
I like this vision a lot. I need to dig into {flipbookr} to figure out what object would have to be created by I wonder if we could maybe have {flipbookr} be imported/suggested by {flair}, and then the function |
Ah! This is fun to think about! From my end (I'm still weak on the flair side), one idea is using flair on partial code sequences (a list of character strings with code) https://evamaerey.github.io/flipbooks/flipbookr/flipbookr_building_blocks#42, then the output of that could be injected as markdown - a vector. (md argument and display_type = "md" is brand new in flipbookr!) md example: |
This issue is for brainstorming how to integrate flair functionality into the awesomeness of flipbooks.
(https://github.com/EvaMaeRey/flipbookr)
The text was updated successfully, but these errors were encountered: