Skip to content

Commit

Permalink
Remove background color from quarto iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanzomorrodi committed Nov 22, 2024
1 parent 399f96f commit dc28555
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
wrap_in_iframe <- function(html) {
html <- paste(html, collapse = "\n")
html <- gsub("'", "\"", html)
html <- gsub("background-color:\\s*?#fafbfe", "background-color: transparent", html)

paste(
"<iframe width = '100%' class='resizable-iframe' srcdoc = '",
Expand Down

0 comments on commit dc28555

Please sign in to comment.