-
-
Notifications
You must be signed in to change notification settings - Fork 878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R Markdown and Animation - Animated Plot Cuts Trail of Document #1067
Comments
Thanks for the report. I can reproduce it. I think it is a Pandoc issue. Here is a minimal repro: test.md <video ><source src="foo"/>asdf</video> Run <video >
<source src="foo"/>
<p>asdf</video></p> I have verified that the current latest version of Pandoc (1.15.0.4) still has the problem. I guess you can move it to https://github.com/jgm/pandoc/issues |
Thanks for checking this! Will move the issue (jgm/pandoc#2290). |
jgm did "not" accept this as a bug for the time being. He suggested introducing a paragraph (jgm/pandoc#2290), what is as good as writing the p tags (what I did). |
Thanks a lot! A simple pull request adding |
Pandoc creates disordered paragraph tags in the inner html for video/source. Closes yihui#1067
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
Using R Markdown to include animations cuts all content after the animation.
First of all, I'm not entirely sure if the fault is with knitr or another part of the R Markdown Toolchain, but as I've solved it temporarily in knitr, I'm posting here.
OSX
R Version 3.2.1
knitr 1.10.5
R Markdown 0.7
Using the sample from the knitr docu about animation or from stackexchange (http://stackoverflow.com/questions/12038893/combining-r-markdown-and-animation-package) with additional content results in a html with all content missing after the animated plot. E.g.:
Reason is the wrong html that is created:
The video and p tag are disordered. I haven't found (didn't look extensively) the code part introducing the paragraph tags and solved it by adding p tags myself in
knitr/R/hooks-html.R
Line 90 in fda7825
The text was updated successfully, but these errors were encountered: