Code Monkey home page Code Monkey logo

Comments (6)

yihui avatar yihui commented on July 17, 2024 2

Try this: rstudio/bookdown#733 (comment)

from posterdown.

yihui avatar yihui commented on July 17, 2024 2

@remlapmot Great! I'll try to release a new version of bookdown to CRAN soon since this has definitely affected multiple users. Thanks for testing!

from posterdown.

remlapmot avatar remlapmot commented on July 17, 2024 1

I am also seeing this issue.

I am using betterport.

It looks like in the generated html poster file that <pre class="sourceCode r">...</pre> tags, which I think come from

```r
...r code...
```

chunks from the knitted md file, are being appended with an extra </div>.

I don't know if this means that there is a missing <div > which should come before the <pre > tags or if the final </div> should not be there.

When I manually delete the extra </div> my poster looks fine in my browser again.

But I don't know what is causing this </div> mismatch.

Apologies if you knew all of this.

from posterdown.

brentthorne avatar brentthorne commented on July 17, 2024

Thanks for pointing this out @remlapmot I did not see this before!

That </div> tag should definitely not be there, now to figure out why it is generated and how to get rid of it. Maybe @yihui or @RLesur have ideas?

Thanks again!

from posterdown.

remlapmot avatar remlapmot commented on July 17, 2024

That's great @yihui. As suggested in that issue, I have updated my bookdown to the github version with

remotes::install_github("rstudio/bookdown")

and that has solved this problem for me (as I guess it has an updated version of the clean_pandoc2_highlight_tags() function).

from posterdown.

brentthorne avatar brentthorne commented on July 17, 2024

This is great thank you @remlapmot and @yihui ! I'll keep this open until that CRAN release happens for others who might experiences this!

Cheers!

from posterdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.