[Feature Request]: Logo in Revealjs could be clickable #3082
Replies: 4 comments 4 replies
-
I was also asking for this. It would be great to parse the logo as MarkDown. |
Beta Was this translation helpful? Give feedback.
-
Of note, on SO there is a Javascript solution posted https://stackoverflow.com/a/76812408/1395352 |
Beta Was this translation helpful? Give feedback.
-
Extension template is one way to achieve that, possibly using a Lua filter, see https://quarto.org/docs/journals/templates.html#revealjs-partials. A simple JavaScript solution: ---
title: "Quarto Playground"
format: revealjs
logo: https://quarto.org/quarto.png
include-after-body:
- text: |
<script type="text/javascript">
window.addEventListener('load', function() {
var logo = document.querySelector('.slide-logo');
var url = 'https://quarto.org';
logo.addEventListener('click', function() {
window.open(url, '_blank');
});
});
</script>
---
## Slide 1
This is a playground for Quarto. |
Beta Was this translation helpful? Give feedback.
-
Many thanks @mcanouil ! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
In Quarto websites, all pages offer the navbar except slides. Meaning that once in a slide deck we cannot easily return to the website. That was feasible using {xaringanExtra} logo.
I was thinking about this kind of feature that would enable the logo to be a link:
Or a markdown code :
I could be using an universal footer but I often use them to comment on the content of a specific slide.
Many thanks for this amazing tool!
Beta Was this translation helpful? Give feedback.
All reactions