Skip to content

fix(blog): remove inline backticks and add indexed per-dollar images#392

Merged
Oseltamivir merged 2 commits into
masterfrom
fix/blog-inline-code-backticks
May 27, 2026
Merged

fix(blog): remove inline backticks and add indexed per-dollar images#392
Oseltamivir merged 2 commits into
masterfrom
fix/blog-inline-code-backticks

Conversation

@Oseltamivir
Copy link
Copy Markdown
Contributor

@Oseltamivir Oseltamivir commented May 26, 2026

Summary

  • remove Tailwind Typography-generated backticks from inline code within blog prose
  • add an automatically generated, crawlable performance-per-dollar PNG for every indexed /compare-per-dollar/<slug> page
  • expose each PNG through a visible image, sitemap image entry, and JSON-LD metadata
  • render high-resolution chart graphics with heavy series lines, in-chart axis labels, and series-colored summary values

Implementation

getAllComparableCompareSlugs() remains the shared comparable-pair inventory. Its per-dollar sitemap consumer now maps every returned canonical slug to /performance-per-dollar.png, while the dynamic PNG route generates the image from the same SSR interpolated cost data as the page. This covers all current and future comparable per-dollar pages without client-side chart-export automation.

Root Causes

  • Blog content is rendered inside Tailwind Typography prose, which adds visible ::before and ::after delimiters to inline <code> elements.
  • The existing interactive chart export is browser-only DOM capture and cannot provide stable crawlable image URLs for Google Images.

Impact

  • Inline model identifiers render as monospace text without duplicate visible backticks.
  • Every indexed per-dollar comparison page has a stable chart PNG suitable for image discovery and page display.

Validation

  • pnpm fmt
  • pnpm typecheck
  • E2E_FIXTURES=1 pnpm build
  • rendered and visually inspected a representative PNG locally (2400x1350)
  • no test suite run locally, per request

@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
inferencemax-app Ready Ready Preview, Comment May 26, 2026 8:05pm

Request Review

@Oseltamivir Oseltamivir changed the title fix(blog): remove generated backticks from inline code fix(blog): remove inline backticks and add indexed per-dollar images May 26, 2026
@Oseltamivir Oseltamivir merged commit 7fbbd12 into master May 27, 2026
18 checks passed
@Oseltamivir Oseltamivir deleted the fix/blog-inline-code-backticks branch May 27, 2026 01:17
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