- Placed references in HTML output into a grey box for better visual distinction
- Harmonized color scheme of the "Chapter Connection" callout block to match the reference box style
- Added new TikZ-based figures in Chapter 1 and Chapter 2
Fixed Lua filter to enable inserting questions and answers in PDF output.
Added automatic numbering for question and answer blocks.
Matched block header font in HTML output with the book’s main font.
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.
- Redesigned custom quiz-question and quiz-answer callouts to visually align with native Quarto callouts in both HTML and PDF.
- Unified layout structure, improved corner rounding, border styling, and spacing.
- Adjusted colors for visual clarity and consistency with book style.
- Applied smaller text size to quiz callouts.
Adds CSS styling for foldbox extensions, including dark mode support.
Updates the Lua script to handle callout-quiz-question and callout-quiz-answer types.
Refines the appearance of the foldbox (collapsible content) to
align more closely with Quarto's design.
Specifically, this commit:
- Replaces the CSS arrow with an SVG icon for better consistency
- Adjusts icon sizes and spacing for a more harmonious look
This commit introduces CSS styles for the custom numbered blocks extension, specifically for foldbox elements.
It defines styles for both default (question) and answer foldboxes, including layout, colors, icons, and animations.
1. Redesigned the \part heading style for PDF output. (header-includes.tex)
2. Adjusted TOC entries so that \part headings are centered, unnumbered, and excluded from page numbering.
3. Added a new custom extension under -extensions/custom-numbered-blocks.
4. Enabled the extension in the _quarto.yml configuration file.
5. Defined two new callout block types: Question and Answer.
6. Created custom icons for these blocks and placed them in the custom-numbered-blocks/icons folder.
7. Styled the blocks for both PDF (via foldbox.tex) and HTML (via foldbox.css) outputs to ensure consistent appearance.
8. Tested rendering in both PDF and HTML formats — everything works as expected.