раздел заголовка qmd, который я использую:
Код: Выделить всё
title: "Test Report"
author: "HQ"
format:
html:
fontsize: 10pt
code-overflow: wrap
embed-resources: true
smooth-scroll: true
code-tools:
source: false
toggle: false
caption: none
toc: true
toc-location: right
echo: False
warning: False
message: false
jupyter: python3
theme:
light: lux
dark: slate
brand: brand/_brand.yml
include-in-header:
- text: |
.cell-output-stdout code {
word-break: break-wor !important;
white-space: pre-wrap !important;
}

Содержимое файла _brand.yml:
Код: Выделить всё
color:
palette:
blue: "#ddeaf1"
background: blue
logo:
medium:
light: brand/logo-HQ.png
dark: brand/logo-HQ-dark.png
Код: Выделить всё
pandoc --output Test_branding.html
to: html
standalone: true
embed-resources: true
section-divs: true
html-math-method: mathjax
wrap: none
default-image-extension: png
toc: true
metadata
document-css: false
link-citations: true
date-format: long
lang: en
title: Test Report
author: HQ
smooth-scroll: true
toc-location: right
message: false
jupyter: python3
theme:
light: lux
dark: slate
brand: brand/_brand.yml
fontsize: 10pt
Output created: Test_branding.html
Обновление: добавление снимка экрана верхняя страница визуализированного документа

< strong>Обновить После внедрения Ответ:
отображается заголовок панели навигации, но не логотип
[img]https://i .sstatic.net/oTC5zxGA.png[/img]
Обновление:
О ходе работы над логотипом/брендингом в отдельных HTML-документах в Quarto: https://github.com/quarto-dev/quarto-cli/issues/11627
Подробнее здесь: https://stackoverflow.com/questions/792 ... l-document
Мобильная версия