pagebreak | R Documentation |
knitr
pagebreak that works for PDF (LaTeX) and HTML output from knitr
pagebreak()
Returns either a LaTeX command, \newpage
, if
is_latex_output()
is TRUE
, an HTML command,
<div style="page-break-before: always;" />
if
is_html_output()
is TRUE
, and NULL
if
neither is TRUE
.
pagebreak()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.