#' Representation as \link[plotly:plotly_json]{Plotly JSON}.
#'
#' @param obj The \link[plotly]{plot_ly} plot or \link[ggplot2]{ggplot} to create a representation for
#' @param ... ignored
#'
#' @name repr_plotly1.*
NULL
#' @importFrom jsonlite fromJSON
#' @name repr_plotly1.*
#' @export
repr_plotly1.plotly <- function(obj, ...) fromJSON(plotly::plotly_json(obj, jsonedit = FALSE))
#' @name repr_plotly1.*
#' @export
repr_plotly1.ggplot <- repr_plotly1.plotly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.