Created
November 1, 2021 09:08
-
-
Save j-jayes/8dfe85bbb9fa8568b73c3a725a8a35c7 to your computer and use it in GitHub Desktop.
Modify YAML to knit from any subfolder to a top level for GitHub pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| knit: (function(input, ...) { | |
| rmarkdown::render( | |
| input, | |
| output_file = paste0( | |
| here::here(), '/index.html' | |
| ), | |
| envir = globalenv() | |
| ) | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment