render_latex()render_sweave()
render_listings()
render_html()
render_markdown()
render_gfm()
render_jekyll()
NULL; corresponding hooks are set as a side effectrender_markdown()), GFM (GitHub Flavored
Markdown; render_gfm()) and Jekyll (a blogging
system on GitHub; render_jekyll()). For LaTeX
output, there are three variants as well: render_latex(); use the LaTeX
render_sweave(); use render_listings(); use LaTeX
render_html(). These functions can be used in the first chunk of the
input document (ideally this chunk has options
include = FALSE and cache = FALSE) so that
all the following chunks will be formatted as expected.
You can use knit_hooks to further customize
output hooks; see references.