`_brand.yml` for docx output
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- javascript
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
_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.
- 主要語言
- JavaScript
- 星號
- 6.2k
- 分支
- 492
- 平均合併
- 15 小時 15 分鐘
- 30 天內合併 PR
- 94
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
quarto-dev/quarto-cli 的其他 Issue
-
bootstrap enhancement themes
難度 2/5 1-3 小時 新手友好度 70/100
quarto-dev/quarto-cli#15421 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 85/100
quarto-dev/quarto-cli#15408 ·
維護者通常 1 天內回覆
-
accessibility bug
難度 2/5 1-3 小時 新手友好度 79/100
quarto-dev/quarto-cli#15401 · 1 個 reaction ·
維護者通常 1 天內回覆
-
bug callouts docx regression
難度 2/5 1-3 小時 新手友好度 81/100
quarto-dev/quarto-cli#15394 · 2 則留言 ·
維護者通常 1 天內回覆
-
bug lightbox
難度 2/5 1-3 小時 新手友好度 76/100
quarto-dev/quarto-cli#15393 ·
維護者通常 1 天內回覆
查看 quarto-dev/quarto-cli 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 75/100
testing-library/jest-dom#749 ·
-
bug
難度 2/5 1-3 小時 新手友好度 65/100
-
ernst:4-klein prio:3-wacht ui
難度 2/5 1-3 小時 新手友好度 70/100
NewspeedyNL/PidLane#767 ·
維護者通常 1 天內回覆
-
bug for-agent ready
難度 2/5 1-3 小時 新手友好度 62/100
WenyuChiou/agent-board#1812 · 2 則留言 ·
維護者通常 1 天內回覆
-
bug help wanted Should Have ui
難度 2/5 1-3 小時 新手友好度 82/100
hannahro15/Musical-Match-Saga#327 · 1 則留言 ·
維護者通常 1 天內回覆