RevealJS: Draw Shapes (Rectangle, Circle) in Slide at Absolute Positions #6845
Replies: 4 comments 15 replies
-
You mean like these: https://duckduckgo.com/?q=draw+shapes+in+revealjs? |
Beta Was this translation helpful? Give feedback.
-
I am not sure what you mean. But Slides has some shapes to add to the slides. To make it more concrete: Shapes in the left, then I could easily draw the red rectangle. |
Beta Was this translation helpful? Give feedback.
-
My guess is that the shapes buttons on slides.com probably draw SVG shapes. You could definitely include those SVG shapes in a Quarto revealjs presentation if you're willing to write the SVG yourself! Just put it inside an If you're looking for a visual interface to draw the shapes so that you don't have to write the SVG code yourself, you could use an SVG image editor like Boxy! You just need it to give you the code to copy-and-paste into your Quarto doc—or, if it gives you an SVG file, open that file in Notepad, TextEdit or a code editor and copy-and-paste the code from there. |
Beta Was this translation helpful? Give feedback.
-
I found some kind of a solution for rectangles and circles (And whatever is in between) based on a demo in the documentation: RevealJS - Auto Animate - Element Matching. Basically, this becomes a constructor of a rectangle: ::: {data-id="box1" style="background: #2780e3; width: 200px; height: 150px; margin: 10px;"}
Text inside
::: I need to experiment to see if:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
In Slides one can draw some shapes in the slide (Rectangles, Circles, etc...).
Is there a way, native or by a plug in, to draw shapes in Quarto as well?
Beta Was this translation helpful? Give feedback.
All reactions