r - Bookdown Special Headers within Article Document Class -
bookdown has introduced ton of great functionality, having issues single document output option. when documentclass:
in yaml header set book
bookdown has no trouble recognizing , creating special headers, if documentclass:
set article
bookdown unable render special headers. here brief example:
--- title: "untitled" author: "john doe" date: "november 10, 2016" documentclass: article output: bookdown::pdf_document2 --- ```{r setup, include=false} library(bookdown) knitr::opts_chunk$set(echo = true) ``` # chapter 1 # chapter 2 # (appendix) appendix {-} # appendix # appendix b
is possible render documents of class article
special headers using bookdown, or outside of bookdown's functionality @ time?
i have updated bookdown on github article
class supported when use these special headers. please try latest version (>= 0.2):
install.packages('bookdown')
Comments
Post a Comment