Skip to content

header option to ignore an .Rmd file / or ability to recognize alternate output format? #97

@cboettig

Description

@cboettig

Would it be possible to support an option in the yaml metadata of an .Rmd post which would tell blogdown not to build the file automatically?

Rationale: Sometimes I want .Rmd files in my site repo that have alternative output formats, e.g. a content/slides directory that has .Rmd files which already use an output: command to specify some slide format (e.g. slides for a lecture). I can knit these separately, but currently blogdown will compile these .Rmds as if they were regular posts, ignoring the requested output format and overwriting a previously-generated html. It would be simplest and most convenient if blogdown just ignored these .Rmds, and then their original outputs can still be part of the website in unaltered form.

Alternately, it would be nice if blogdown could recognize requested output: formats in yaml and render accordingly via rmarkdown, instead of following the usual knit command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions