How to embed in Markdown&html outside Rmd and shiny

Open
#294 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
20/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, r

Research direction

Start by reviewing the htmlwidgets documentation and the embedding paths for Markdown and HTML outside R Markdown and Shiny. The issue names no files or tests; a useful outcome would document whether standalone embedding is supported, how to include the required JavaScript, and how the animation data is exposed.

Written by the indexing model from the issue text.

Description

My blog uses hexo, which is a static website generator. Each blog post is a Markdown file. blogdown developed by Yihui Xie has a lot of errors and I do not have the knowledge to fix them. I do not use shiny.

How to embed the animation plot generated in a Markdown file? Do you have javascript link similar to bootstrap<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>?

How to get the javascript code containing data which generates the animation plot?

Thank you.

Dominant language
R
Stars
801
Forks
202
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ramnathv/htmlwidgets

All issues in ramnathv/htmlwidgets

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.