Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carriage Return in YAML #27

Open
villafup opened this issue Oct 6, 2022 · 0 comments
Open

Carriage Return in YAML #27

villafup opened this issue Oct 6, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@villafup
Copy link
Collaborator

villafup commented Oct 6, 2022

Adding a carriage return in YAML header:

If you need to add a carriage return to the YAML header as shown in attached screenshot, add a "|+" in the section where the carriage return is needed (here under date), followed by a return. After the first line, add 2 returns.

title: "2. Using filterVcf to Select Variants from VCF Files"
author: "Paul Shannon"
date: |+
    Created: 20 February, 2013
    
    Last Modified: `r format(Sys.Date(), "%B %d, %Y")`
vignette: >
  %\VignetteIndexEntry{2. Using filterVcf to Select Variants from VCF Files}
  %\VignetteDepends{VariantAnnotation}
  %\VignettePackage{VariantAnntation}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteIndexEntry{Quick-start Guide}
  %\VignetteEncoding{UTF-8}
output:
  BiocStyle::html_document:
    number_sections: yes
    toc: yes
    toc_depth: 4
@jwokaty jwokaty added the documentation Improvements or additions to documentation label Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants