epoxy 0.0.2.9000
epoxy’s knitr engine is now
epoxy
and notglue
. This avoids a name clash with the glue package, which provides aglue
knitr engine with similar functionality. epoxy also providesepoxy_html
andepoxy_latex
knitr engines, although they can still be used via their aliasesglue_html
andglue_latex
. (#21)epoxyHTML()
will now render elements with IDs using the#
syntax, e.g.{{h3#name.author full_name}}
will create an element that is (essentially)<h3 id="name" class="author">{{ full_name }}</h3>
(#22).epoxy requires glue >= 1.5.0.
Added a new internal dataset,
bechdel
, containing details for a random sample of ten movies that received a score of 3 on the Bechdel Test (#24).epoxy’s style transformers can now be chained via
epoxy_style()
. For example to use bothepoxy_style_bold()
andepoxy_style_collapse()
on all replacement strings, you can callepoxy_style("bold", "collapse")
.epoxy_style()
accepts a style function name, e.g."collapse"
, the function objet directly, e.g.epoxy_style_collapse
, or a call to a style function, e.g.epoxy_style_collapse()
(#26).
epoxy 0.0.2
Added a
whisker
engine that uses the whisker package instead ofglue
.The chunk option
glue_data
was changed todata
.The
glue_html
engine now uses{{
and}}
for open/close delimiters.glue/whisker chunks now accept
.envir
chunk option for the containing environemnt, otherwise falling back to theknitr::knit_global()
env.