Skip to content

Fix: bold text overridden by typography plugin on links in prose#1535

Merged
egeakman merged 2 commits intoep2026-finaidfrom
copilot/sub-pr-1533
Mar 18, 2026
Merged

Fix: bold text overridden by typography plugin on links in prose#1535
egeakman merged 2 commits intoep2026-finaidfrom
copilot/sub-pr-1533

Conversation

Copy link

Copilot AI commented Mar 18, 2026

The @tailwindcss/typography plugin sets an explicit font-weight on .prose a elements, which overrides the bold weight inherited from a parent <strong>. This means MDX like **[Free Ticket Voucher Grant](#link):** renders as <strong><a>...</a></strong> but the link text appears non-bold.

Fix

Added to the .prose block in src/styles/global.css:

/* Preserve bold when a link is wrapped in <strong> (e.g. **[text](#link)**).
   The typography plugin sets an explicit font-weight on <a> tags, which
   overrides the inherited bold from a parent <strong>. */
strong a,
a strong {
  font-weight: bold;
}

This restores expected bold rendering for **[text](#link)** patterns across all prose/MDX content on the site.


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Co-authored-by: egeakman <75242929+egeakman@users.noreply.github.com>
Copilot AI changed the title [WIP] [WIP] Investigate feedback on 2026 financial aid details PR Fix: bold text overridden by typography plugin on links in prose Mar 18, 2026
Copilot AI requested a review from egeakman March 18, 2026 23:33
@europython-society
Copy link
Member

Preview available

Key Value
url https://copilot-sub-pr-1533.ep-preview.click
last update 2026-03-18T23:34:58.481Z

@egeakman egeakman marked this pull request as ready for review March 18, 2026 23:35
@egeakman egeakman merged commit c96b992 into ep2026-finaid Mar 18, 2026
3 checks passed
@egeakman egeakman deleted the copilot/sub-pr-1533 branch March 18, 2026 23:35
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.

3 participants