[PR #880] [MERGED] Customize TOC part formatting, callout block colors and font size #987

Closed
opened 2026-03-22 15:57:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/harvard-edge/cs249r_book/pull/880
Author: @hzeljko
Created: 6/28/2025
Status: Merged
Merged: 6/28/2025
Merged by: @profvjreddi

Base: devHead: 874-part-title


📝 Commits (2)

  • e67b575 Customize TOC part formatting, callout block colors and font size
  • 5e47555 Merge branch 'dev' into 874-part-title

📊 Changes

17 files changed (+118 additions, -88 deletions)

View changed files

📝 _extensions/custom-numbered-blocks/style/foldbox.css (+1 -1)
📝 _extensions/custom-numbered-blocks/style/foldbox.tex (+12 -13)
📝 _extensions/custom-numbered-blocks/style/icons/Icon_callout-resource-slides.pdf (+0 -0)
📝 _extensions/custom-numbered-blocks/style/icons/Icon_callout-resource-slides.png (+0 -0)
📝 _extensions/custom-numbered-blocks/style/icons/Icon_callout-resource-videos.pdf (+0 -0)
📝 _extensions/custom-numbered-blocks/style/icons/Icon_callout-resource-videos.png (+0 -0)
📝 _extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-answer.pdf (+0 -0)
📝 _extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-answer.png (+0 -0)
📝 _extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-question.pdf (+0 -0)
📝 _extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-question.png (+0 -0)
📝 _extensions/custom-numbered-blocks/style/icons/icon_callout-resource-exercises.pdf (+0 -0)
📝 _extensions/custom-numbered-blocks/style/icons/icon_callout-resource-exercises.png (+0 -0)
📝 _quarto.yml (+8 -9)
📝 contents/core/introduction/introduction.qmd (+64 -5)
📝 contents/labs/raspi/setup/setup.qmd (+0 -1)
scripts/collapse_blank_lines.py (+20 -0)
📝 tex/header-includes.tex (+13 -59)

📄 Description

Added "Part" label before part number in TOC with custom spacing and color.
Also updated styles of custom callout blocks to visually distinguish them from Quarto defaults and changed the font size for newly created blocks to be the same as the main text

Before submitting your Pull Request, please review and complete the items on this checklist.

  • The text has been proofread for grammar and spelling errors.
  • All images, figures, and tables render properly without any glitches.
  • All images have a source or they are properly linked to external sites.
  • The chapter's formatting is consistent with the rest of the book.
  • The chapter has been locally built and tested using Quarto.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/harvard-edge/cs249r_book/pull/880 **Author:** [@hzeljko](https://github.com/hzeljko) **Created:** 6/28/2025 **Status:** ✅ Merged **Merged:** 6/28/2025 **Merged by:** [@profvjreddi](https://github.com/profvjreddi) **Base:** `dev` ← **Head:** `874-part-title` --- ### 📝 Commits (2) - [`e67b575`](https://github.com/harvard-edge/cs249r_book/commit/e67b575290aac0c52e2c771986fbb5db1bc4d36a) Customize TOC part formatting, callout block colors and font size - [`5e47555`](https://github.com/harvard-edge/cs249r_book/commit/5e47555263438e85ed6399809f62ded65c685990) Merge branch 'dev' into 874-part-title ### 📊 Changes **17 files changed** (+118 additions, -88 deletions) <details> <summary>View changed files</summary> 📝 `_extensions/custom-numbered-blocks/style/foldbox.css` (+1 -1) 📝 `_extensions/custom-numbered-blocks/style/foldbox.tex` (+12 -13) 📝 `_extensions/custom-numbered-blocks/style/icons/Icon_callout-resource-slides.pdf` (+0 -0) 📝 `_extensions/custom-numbered-blocks/style/icons/Icon_callout-resource-slides.png` (+0 -0) 📝 `_extensions/custom-numbered-blocks/style/icons/Icon_callout-resource-videos.pdf` (+0 -0) 📝 `_extensions/custom-numbered-blocks/style/icons/Icon_callout-resource-videos.png` (+0 -0) 📝 `_extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-answer.pdf` (+0 -0) 📝 `_extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-answer.png` (+0 -0) 📝 `_extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-question.pdf` (+0 -0) 📝 `_extensions/custom-numbered-blocks/style/icons/icon_callout-quiz-question.png` (+0 -0) 📝 `_extensions/custom-numbered-blocks/style/icons/icon_callout-resource-exercises.pdf` (+0 -0) 📝 `_extensions/custom-numbered-blocks/style/icons/icon_callout-resource-exercises.png` (+0 -0) 📝 `_quarto.yml` (+8 -9) 📝 `contents/core/introduction/introduction.qmd` (+64 -5) 📝 `contents/labs/raspi/setup/setup.qmd` (+0 -1) ➕ `scripts/collapse_blank_lines.py` (+20 -0) 📝 `tex/header-includes.tex` (+13 -59) </details> ### 📄 Description Added "Part" label before part number in TOC with custom spacing and color. Also updated styles of custom callout blocks to visually distinguish them from Quarto defaults and changed the font size for newly created blocks to be the same as the main text Before submitting your Pull Request, please review and complete the items on this checklist. - [x] The text has been proofread for grammar and spelling errors. - [x] All images, figures, and tables render properly without any glitches. - [x] All images have a source or they are properly linked to external sites. - [x] The chapter's formatting is consistent with the rest of the book. - [x] The chapter has been locally built and tested using Quarto. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-22 15:57:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#987