Open zenggyu opened 1 year ago
As the title suggests, monobackgroundcolor seems to be ignored by by document title and section title.
monobackgroundcolor
--- title: "Document title with `code`" format: html: monobackgroundcolor: "transparent" --- # Section title with `code` Some text with `code`
monobackgroundcolor should affect document title and section title as well.
monobackgroundcolor does not affect document title or section title. Example below:
quarto check [✓] Checking versions of quarto binary dependencies... Pandoc version 3.1.1: OK Dart Sass version 1.55.0: OK [✓] Checking versions of quarto dependencies......OK [✓] Checking Quarto installation......OK Version: 1.3.361 Path: /opt/quarto/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.10.12 Path: /usr/bin/python3 Jupyter: (None) Jupyter is not available in this Python installation. Install with python3 -m pip install jupyter [✓] Checking R installation...........OK Version: 4.3.0 Path: /usr/lib/R LibPaths: - /home/nick/R/x86_64-pc-linux-gnu-library/4.3 - /usr/local/lib/R/site-library - /usr/lib/R/site-library - /usr/lib/R/library knitr: 1.43 rmarkdown: 2.22 [✓] Checking Knitr engine render......OK
I am not completely sure it is a bug, maybe an omission.
https://github.com/quarto-dev/quarto-cli/blob/f87976c6dc9b0d0ea125ac58ad08860d63dae8ad/src/resources/formats/html/bootstrap/_bootstrap-rules.scss#L909-L937
I made a PR to extend monobackgroundcolor to HTML headers.
Bug description
As the title suggests,
monobackgroundcolor
seems to be ignored by by document title and section title.Steps to reproduce
Expected behavior
monobackgroundcolor
should affect document title and section title as well.Actual behavior
monobackgroundcolor
does not affect document title or section title. Example below:Your environment
Quarto check output