Reputation: 13
I use this following code in r-markdown to make a page break in order to printing easier. But it shows [1]"" in the html. why? How to delete it? or how to clearly make a page break in other ways?
```{r, comment=NA, echo=FALSE, results='asis'}
print("<P style='page-break-before: always'>")
```
Upvotes: 0
Views: 369
Reputation: 13466
<div>
element:<div style="page-break-after: always;"></div>
<div>
element:<div style="page-break-before: always;"></div>
The markdown exporter might fail sometimes. To solve such problems, try to export as HTML format, open the file on browser and print as pdf(if required).
Upvotes: 1