Thanks to visit codestin.com
Credit goes to github.com

Skip to content

how to not generate meta line in rendered html #26

@edibleguy

Description

@edibleguy

I really like Bookdown. I have one issue that is causing more work than I think is required.

When I build a book from the rmd files, is there a way to prevent lines from being added to my html files?

The reason I want to do this is the following:

  1. I have many html files with my book. One for each subsection.
  2. I have a local repo on two computers.
  3. Any time I make a change to one rmd file, all of my html files get changed. Often the only thing that changes is the meta line that lists the date last edited, for example:
    from repo 1 :
    from repo 2 :
  4. Before I can push the new html (linked to netlify website), I need to merge the minor date changes for every html file. If I do this through rstudio, I commit these changes one at a time. I am not using this information, so merging is a waste of effort, especially when I have more than 100 html files to merge.
  5. If the date meta line is not generated, only a small set of html needs to be merged when I make a change to one rmd file.

Is there a simple solution to achieving this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions