Skip to content

Commit

Permalink
fix: make sure 'gfm' format is rendered as an image
Browse files Browse the repository at this point in the history
see #532
  • Loading branch information
davidgohel committed Jun 23, 2023
1 parent 34697f8 commit 6e53256
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: flextable
Type: Package
Title: Functions for Tabular Reporting
Version: 0.9.2
Version: 0.9.3.001
Authors@R: c(
person("David", "Gohel", role = c("aut", "cre"),
email = "david.gohel@ardata.fr"),
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# flextable 0.9.3

## Issues

- Make sure 'gfm' format is rendered as an image.

# flextable 0.9.2

## Issues
Expand Down
2 changes: 1 addition & 1 deletion R/printers.R
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ knit_print.flextable <- function(x, ...) {
} else if (!is.null(getOption("xaringan.page_number.offset"))) { #xaringan
str <- knit_to_html(x, bookdown = FALSE, quarto = FALSE)
str <- asis_output(str, meta = html_dependencies_list(x))
} else if (is_html_output()) { # html
} else if (is_html_output(excludes="gfm")) { # html
str <- knit_to_html(x, bookdown = is_bookdown, quarto = is_quarto)
str <- raw_html(str, meta = html_dependencies_list(x))
} else if (is_latex_output()) { # latex
Expand Down

0 comments on commit 6e53256

Please sign in to comment.