Skip to content

Fix syntax highlighting on hero card#12

Merged
brunoborges merged 2 commits intomainfrom
copilot/fix-hero-card-code-color-syntax
Feb 17, 2026
Merged

Fix syntax highlighting on hero card#12
brunoborges merged 2 commits intomainfrom
copilot/fix-hero-card-code-color-syntax

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 16, 2026

Hero card code blocks on the front page lacked syntax highlighting.

Changes

  • Added .code-text class to both <pre> tags in the hero compare section (index.html:179, 189)

The syntax highlighter (app.js:initSyntaxHighlighting()) only targets elements with this class.

Visual

Before: Plain black text
After: Keywords, types, and methods properly highlighted

Hero card with syntax highlighting

Original prompt

This section details on the original issue you should resolve

<issue_title>Hero card (record) in front page has no code color syntax</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix hero card on front page to include code color syntax Fix syntax highlighting on hero card Feb 16, 2026
Copilot AI requested a review from brunoborges February 16, 2026 23:53
@brunoborges brunoborges marked this pull request as ready for review February 17, 2026 00:09
@brunoborges brunoborges merged commit 445831a into main Feb 17, 2026
@brunoborges brunoborges deleted the copilot/fix-hero-card-code-color-syntax branch February 26, 2026 01:29
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.

Hero card (record) in front page has no code color syntax

2 participants