简体   繁体   中英

How to embed R Plotly graph from GitHub into Medium

ChartStudio does this easily. However, the chart is editable by anyone. Is there a way to host the graph in github and deploy it as github pages and then embed it into a Medium.com article? Tables and codes can easily be embedded by copying the url of github gist that contains the table/codes.

If they are public, GitHub pages can of course be easily integrated anywhere.

One option is to create a markdown page and integrate an object in there (fe an image) at github.com. You can upload it onto the page or do so via clipboard of your computer. As next, you give it a name, fe stackoverflow_001.md and save it. You can find an example here: Markdown page with an image .

This URL can be used at medium.com in case you write an article. During your writing process, you add an embed at your article and paste in exactly this URL - that's it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM