`_brand.yml` for docx output
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- javascript
- Domaine
- documentation
Piste de recherche
Read the linked reference-doc.R example to understand how it maps _brand.yml values into a Pandoc reference document. Then trace Quarto’s brand handling and docx format configuration to find where generated or user-provided reference documents are prepared. Done means docx output applies the specified brand fonts and colours, includes the first-page logo, and preserves existing reference document styling; the issue names no Quarto files or tests.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
_brand.yml applies to html, dashboard, revealjs and typst, but nothing of it reaches docx: a branded project renders to Word with Pandoc's default fonts, colours and no logo. Getting the same look in Word means writing a reference document by hand and keeping it in sync with the brand.
I hit this while making one bulletin render to HTML, Typst PDF and Word from the same source. I ended up generating the reference document from _brand.yml with a script, starting from Pandoc's default reference.docx:
typography.baseandtypography.headingsfamilies as the theme fonts and in the body and heading styles;color.primaryfor headings, captions and hyperlinks,color.foregroundfor text;- the logo in the first-page header.
We could do the same in Quarto: when a project has a brand and the docx format sets no reference-doc, build one from the brand values, and when it sets one, apply the brand fonts and colours on top of it. This would give Word the same starting point as the other formats.
- Langage dominant
- JavaScript
- Étoiles
- 6.2k
- Forks
- 492
- Merge moyen
- 15 h 15 min
- PR mergées (30 j)
- 94
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de quarto-dev/quarto-cli
-
bootstrap enhancement themes
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
quarto-dev/quarto-cli#15421 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
quarto-dev/quarto-cli#15408 ·
Les mainteneurs répondent en général sous 1 jour
-
accessibility bug
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
quarto-dev/quarto-cli#15401 · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
bug callouts docx regression
Difficulté 2/5 1-3 heures Accessibilité débutants 81/100
quarto-dev/quarto-cli#15394 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
bug lightbox
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
quarto-dev/quarto-cli#15393 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de quarto-dev/quarto-cli
Issues similaires
-
bug help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
LangerSword/gitone#7 ·
-
good first issue reliability security should-have
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 13 jours
-
[BUG]: chunkSource protocol stripping truncates URLs or reads an inner schemePeut-être pris @Bensonbenyi l’a pris aujourd’hui. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
Mintplex-Labs/anything-llm#7338 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
Les mainteneurs répondent en général sous 1 jour