![]() The approach here is that during the knitting process, the parameter values are substituted into the format string and written out to a new file called "after.html" in your "blue_folder". Your Rmarkdown file could start something like this:. Here is an approach that I think is in the spirit of what you want to do. Here is the relevant section in the Pandoc User's Guide. It expects the name of a file containing an html fragment to be included as the footer because the knitting process is programmed to send that file name to Pandoc's -include-after-body option. The after body include does not work like that. ![]() I want my output to look similar to the image in this post.Įdit: Hack solution to put it at the end of the body. However, I do not want a solution that changes the author name in the HTML file. I have also tried the Footer and header solution from this post as well. Using the Author field of R Markdown in footer.html I prefer a solution that does not force me to change the pandoc template. header_logo.html - which is used in my YAML's before_body) Rmd file and the blue folder contains additional files (e.g. ![]() Inside rainbow_folder are two folders called red_folder (my working directory) and blue_folder. I have a main folder called rainbow_folder. blue_folder/header_logo.htmlĪuthor: Apple Pie Įmail: Here is an example of the concept (code does not actually run): -īefore_body. In the YAML section of the RMarkdown file, I want to write the author's name and email address and have that only appear in the footer of the document. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |