Giter VIP home page Giter VIP logo

Comments (6)

gadenbuie avatar gadenbuie commented on June 5, 2024 1

@mattwarkentin Thanks for the suggestion. I think this is a good fit for xaringanExtra! I'll look into it.

https://clipboardjs.com/

from xaringanextra.

mattwarkentin avatar mattwarkentin commented on June 5, 2024

So excited to test this out! This is a huge UX upgrade for xaringan IMO.

from xaringanextra.

gadenbuie avatar gadenbuie commented on June 5, 2024

Thanks! I'm pretty happy with how this one turned out, I haven't tested it extensively in all R Markdown outputs but I think it will work just about anywhere 😄

Let me know how it goes when you take it for a spin!

from xaringanextra.

mattwarkentin avatar mattwarkentin commented on June 5, 2024

Tried it out and it works great. No issues to report. Dropped the requisite code into a full-blown presentation and it works great. Now I have to go back and add it to all of my tutorial slides for teaching!

I did notice the clipboard hyperlink in your README seems to be broken.

The link destination is https://github.com/gadenbuie/xaringanExtra#-clipboard, meanwhile the anchor shows https://github.com/gadenbuie/xaringanExtra#%EF%B8%8F-clipboard

from xaringanextra.

mattwarkentin avatar mattwarkentin commented on June 5, 2024

Oh, and the two examples in your Clipboard Demo for using Spanish and Font Awesome icons (https://pkg.garrickadenbuie.com/xaringanExtra/clipboard/#5) does not actually show those changes for the clipboard buttons for the relevant code blocks. Not sure if they are meant to or not.

from xaringanextra.

gadenbuie avatar gadenbuie commented on June 5, 2024

Thanks for letting me know... I fixed the link in the readme -- https://github.com/gadenbuie/xaringanExtra#-clipboard -- but I might eventually remove most of the GitHub readme and link out to https://pkg.garrickadenbuie.com/xaringanExtra

The buttons were "one per slide deck" before, but I changed my mind and decided to support multiple clip buttons per document. This makes it easier to customize in general R Markdown outputs and lets you change the text for different contexts.

So good news, the demo on https://pkg.garrickadenbuie.com/xaringanExtra/clipboard/#5 now shows up in Spanish and as icons! 🎉

from xaringanextra.

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.