plotly/graphing-library-docs

Content broken for RMarkdown plots

Opened this issue · 1 comments

I'm looking at https://plotly.com/r/embedding-graphs-in-rmarkdown/ - it looks like there are some tags that are getting misinterpreted and preventing everything from being seen?

Screen Shot 2020-10-01 at 11 18 33 AM

I have old markdown reports that used ggplotly() in combination with htmltools::tagList() which no longer work. It looks like the docs pages are encountering a similar issue. Presumably it has something to do with RMarkdown v2 and/or how plotly writes the HTML tags (it sounds like 4-space indentation is a problem),