Add a button with link to code playground next to copy-code button #13496
Unanswered
matematiflo
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The "easy part": create a Lua filter to modify code cells and to add the relevant HTML code (https://quarto.org/docs/extensions/). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi! I would like to add a second button to Quarto code blocks, next to the copy-code button. The goal is to have it link to a code playground that would load the code contained in the code block, for example Lean 4 Web.
Here is a picture of the feature as it exists on the Lean Zulip instance:
Would you have any pointers as to how I should go about this? Right now I would not even know where to star and what to study first 😅 Thanks for your attention!
Beta Was this translation helpful? Give feedback.
All reactions