tests/testthat/examples/knitr-examples/122-strip-white.md

title: "Test strip.white"

strip.white is TRUE by default

1 + 1
## [1] 2

It can be opt out


1 + 1
## [1] 2

When collapse is TRUE, default is FALSE


1 + 1
## [1] 2

2 + 2
## [1] 4

It can also be changed

1 + 1
## [1] 2
2 + 2
## [1] 4


Try the parsermd package in your browser

Any scripts or data that you put into this service are public.

parsermd documentation built on Aug. 21, 2025, 5:27 p.m.