quarto-dev / quarto-dev/quarto-cli

`lang` provided under `format` key not respected when rendering books

Open
#2,285 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

books bug
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

When the lang is specified under a format, like:

format:
  html:
    lang: zh

We don't respect that lang when rendering a book (it must instead be at the root level).

See #251

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing issue #251 and reproducing the provided format-level lang configuration while rendering a book. Trace how the configuration is read during book rendering; done means the lang value under format.html is respected without requiring it at the root level.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.