PDF in knitr is tied to TeX. Webshot and other capture is better because CSS styles work without translation to TeX.