`_brand.yml` for docx output
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript
- Área
- documentation
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
_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.
- Lenguaje dominante
- JavaScript
- Estrellas
- 6.2k
- Forks
- 492
- Merge medio
- 15 h 15 min
- PR fusionados (30 d)
- 94
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de quarto-dev/quarto-cli
-
bootstrap enhancement themes
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
quarto-dev/quarto-cli#15421 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
quarto-dev/quarto-cli#15408 ·
Los mantenedores suelen responder en 1 día
-
accessibility bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
quarto-dev/quarto-cli#15401 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bug callouts docx regression
Dificultad 2/5 1-3 horas Aptitud para principiantes 81/100
quarto-dev/quarto-cli#15394 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug lightbox
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
quarto-dev/quarto-cli#15393 ·
Los mantenedores suelen responder en 1 día
Todos los issues de quarto-dev/quarto-cli
Issues similares
-
bug help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
LangerSword/gitone#7 ·
-
good first issue reliability security should-have
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 13 días
-
[BUG]: chunkSource protocol stripping truncates URLs or reads an inner schemePosiblemente ocupada @Bensonbenyi la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Mintplex-Labs/anything-llm#7338 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día