knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
fixsvg
The goal of fixsvg
is to edit SVG files automatically to work around a Firefox bug.
You can install fixsvg from GitHub with:
# install.packages("devtools") devtools::install_github("fmichonneau/fixsvg")
This package contains a single exported function, fix_clip_path()
that takes as an argument the path of a project that may contain SVG files containing the clip-path
element:
fix_clip_path("my-website")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.