Skip to content

feat: Add syntax highlighting for more languages#155

Draft
philprime wants to merge 4 commits intomainfrom
philprime/add-code-highlighting
Draft

feat: Add syntax highlighting for more languages#155
philprime wants to merge 4 commits intomainfrom
philprime/add-code-highlighting

Conversation

@philprime
Copy link
Copy Markdown
Member

@philprime philprime commented Nov 17, 2025

This PR adds syntax highlighting for more common languages used in our blog posts, with an example blog post to explore all of them.

Before After

This should also fix the readability of the code blocks in this internal post.

@philprime philprime requested a review from HazAT November 17, 2025 10:10
@philprime philprime self-assigned this Nov 17, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 17, 2025

Codecov Report

❌ Patch coverage is 53.40909% with 41 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.58%. Comparing base (a509874) to head (804e053).

Files with missing lines Patch % Lines
app/components/markdown.tsx 53.40% 41 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
+ Coverage   39.39%   39.58%   +0.18%     
==========================================
  Files          87       87              
  Lines        7514     7592      +78     
  Branches      307      307              
==========================================
+ Hits         2960     3005      +45     
- Misses       4554     4587      +33     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@philprime
Copy link
Copy Markdown
Member Author

I just noticed that this causes HTML tags to not being properly escaped, moving back to draft.

Before After

@philprime philprime marked this pull request as draft November 17, 2025 10:25
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.

2 participants