Skip to content

Commit

Permalink
Replace foofactors and fbind with regexcite and str_split_one() (#742)
Browse files Browse the repository at this point in the history
* Replace foofactors and fbind with regexcite and str_split_one()

* Make the configured Git user available in regexcite

* Fix function-o

Closes jennybc/regexcite#1

* Reinstate `crayon.enabled = TRUE` and the explicit downlit divs

* These chunk envvars have no effect

* Rework how I manage code / files

This meets various requirements I have:
* The code is readily seen and edited in Whole-game.Rmd.
* The code is syntax highlighted in the rendered product, when it should be, and is not, when it should not be.
* Relevant chunks have the copy button in the rendered product.

* Do a couple TODOs

* Use suggestion from @gadenbuie

* Back to previous approach for README.Rmd

I'm having a problem where it doesn't fully display in the chapter AND creates a whole new chapter in the book.

* This was leftover from an experiment

* Back to @gadenbuie's suggestion, but with more backticks

* Improve the test() output
  • Loading branch information
jennybc authored Nov 10, 2021
1 parent 4c4af06 commit 7e3484b
Show file tree
Hide file tree
Showing 5 changed files with 639 additions and 407 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bookdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:

- name: Configure Git user
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "[email protected]"
- name: Build site
run: Rscript -e 'bookdown::render_book("index.Rmd", quiet = TRUE)'
Expand Down
Loading

0 comments on commit 7e3484b

Please sign in to comment.