使用 Reveal.js 在四开本演示文稿标题幻灯片的左上角添加小徽标

cap*_*ain 2 html reveal.js quarto

如何使用reveal.js 在我的四开本演示文稿标题幻灯片的左上角添加小徽标?

有关 Quarto/reveal.js 演示文稿的信息:https://quarto.org/docs/presentations/

sha*_*fee 8

如果您只想在左上角的标题幻灯片中添加徽标,一个简单的方法是使用 指定title-slide-attributes背景图像,然后将 img 缩放到较小,然后将 img 移动到左上角。

雷普莱克斯


演示文稿.qmd

---
title: "Logo in top-left corner"
format: revealjs
title-slide-attributes: 
  data-background-image: quarto.png
  data-background-size: 15%
  data-background-position: 2% 2%
---

## Quarto

Quarto enables you to weave together content and executable code into a finished
presentation. To learn more about Quarto presentations see
<https://quarto.org/docs/presentations/>.

## Bullets

When you click the **Render** button a document will be generated that includes:

-   Content authored with markdown
-   Output from executable code

Run Code Online (Sandbox Code Playgroud)

四开.png

四开.标志


渲染输出

标题幻灯片左上角的徽标