Open
Description
This does not show the logo in html, but it works for typst:
logo-embedded.qmd
---
title: logo across formats
format:
html: default
typst:
keep-typ: true
brand:
logo:
images:
quarto:
path: quarto.png
alt: quarto logo
posit:
path: posit-logo-2024.svg
alt: posit logo
medium: quarto
large: posit
---
{{< lipsum 4 >}}
_quarto.yml
project:
type: website
website:
sidebar:
style: "docked"
contents: []
However if I move _brand.yml
to its own file
_brand.yml
logo:
images:
quarto:
path: quarto.png
alt: quarto logo
posit:
path: posit-logo-2024.svg
alt: posit logo
medium: quarto
large: posit
logo-linked.qmd
---
title: logo across formats
format:
html: default
typst: default
---
{{< lipsum 4 >}}
This displays the logo in both formats.
(I have a feeling I have created cross-format compatibility bugs by allowing logo to be an object for typst, ran into this bug on the way.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment