Skip to content

feat: match GitHub blockquote aesthetics#5

Open
sabraman wants to merge 1 commit intowestrik:mainfrom
sabraman:feat/github-blockquote-style
Open

feat: match GitHub blockquote aesthetics#5
sabraman wants to merge 1 commit intowestrik:mainfrom
sabraman:feat/github-blockquote-style

Conversation

@sabraman
Copy link
Copy Markdown

Pull Request: GitHub-style Blockquote Aesthetics

Description

This PR updates the blockquote styling in the generated PDFs to match GitHub's aesthetic.

Changes

  • Stroke Color: Changed from gray to #d0d7de (GitHub's preferred light blue-grey border color).
  • Stroke Width: Increased to 3pt for better visibility and consistency with modern UI.
  • Inset Padding: Added 1em left inset to ensure text content doesn't touch the border, improving readability.
  • Vertical Spacing: Adjusted above spacing to 1.2em for better separation between paragraphs and blockquotes.

Verification Results

Visual Verification

Generated tests/test_blockquote.pdf and confirmed:

  • Border color matches GitHub's UI.
  • Padding and spacing feel more premium and modern.

Automated Tests

  • Ran cargo test --lib -> 76 passed, 0 failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant