tintHtml(...)
tint(...)
newthought(text)
margin_note(text, icon = "⊕")
quote_footer(text)
sans_serif(text)tint (note you cannot use the theme argument in
tint; this arguments has been set internally)tint provides the HTML format based on the Tufte CSS
https://edwardtufte.github.io/tufte-css/ with fonts set according to
http://nogginfuel.com/envisioned-css/newthought() can be used in inline R expressions in R
Markdown (e.g. `r newthought(Some text)`), and it works for both
HTML (text) and PDF
(\newthought{text}) output.
margin_note() can be used in inline R expressions to write a
margin note (like a sidenote but not numbered).
quote_footer() formats text as the footer of a quote. It puts
text in for HTML output, and
after \hfill for LaTeX output (to right-align text).
sans_serif() applies sans-serif fonts to text.
## Not run: library(tint)
newthought('In this section')
Run the code above in your browser using DataLab