R Markdown Websites :: _output.yml

Published by onesixx on

http://rmarkdown.rstudio.com/rmarkdown_websites.html

see the documentation on includes for more details.

the are two output options which are automatically set when rendering a site:

  • The self_contained option is set FALSE; and

  • The lib_dir option is set to site_libs.

html_document:
    theme: united
    toc: yes
    highlight: textmate
    css: styles.css
    include:
        after_body: footer.html

footer.html

<p>Copyright &copy; onesixx.com All rights reserved.</p>

styles.css

blockquote {
  font-style: italic
}

 

Error

incomplete final line found on '_output.yml'

해결: _output.yml 파일 작성 마지막 줄에서 커서를 1번째 위치에 놓는다.

 

Categories: Presentation

onesixx

Blog Owner

Leave a Reply

Your email address will not be published.