Skip to content

feat: improve markdown rendering styles#342

Merged
BYK merged 1 commit intomainfrom
byk/feat/md-style
Mar 4, 2026
Merged

feat: improve markdown rendering styles#342
BYK merged 1 commit intomainfrom
byk/feat/md-style

Conversation

@BYK
Copy link
Member

@BYK BYK commented Mar 4, 2026

Align CLI terminal rendering with the website screenshot aesthetic.

Changes

Inline code spans — cyan text + tinted background

Code spans now render with cyan text (#22d3ee) on a dark teal background (#1a2f3a) with space padding for a pill look, replacing the previous plain yellow text. Matches the website's .code CSS styling.

Header emphasis — bold + divider bar

  • h1/h2 headings now display a colored divider bar () underneath, clamped to 30 characters
  • h3+ headings are now bold cyan (were previously non-bold)

Website Terminal.astro — updated columns

Updated the hero terminal demo and feature terminal in index.mdx to show the current CLI column layout: LEVEL, SHORT ID, COUNT, SEEN, FIXABILITY, TITLE. Removed the old ALIAS column and .accent CSS class.

Tests

Updated and added tests for code span padding, heading divider bars, divider clamping (30 char max), and h3+ no-divider behavior. All 82 markdown tests pass.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Trace

Other

  • (api) Add --data/-d flag and auto-detect JSON body in fields by BYK in #320
  • (formatters) Render all terminal output as markdown by BYK in #297
  • (install) Add Sentry error telemetry to install script by BYK in #334
  • (issue-list) Global limit with fair distribution, compound cursor, and richer progress by BYK in #306
  • (log-list) Add --trace flag to filter logs by trace ID by BYK in #329
  • (logger) Add consola-based structured logging with Sentry integration by BYK in #338
  • (project) Add project create command by betegon in #237
  • (upgrade) Add binary delta patching via TRDIFF10/bsdiff by BYK in #327
  • Improve markdown rendering styles by BYK in #342

Bug Fixes 🐛

Api

  • Use numeric project ID to avoid "not actively selected" error by betegon in #312
  • Use limit param for issues endpoint page size by BYK in #309
  • Auto-correct ':' to '=' in --field values with a warning by BYK in #302

Formatters

  • Expand streaming table to fill terminal width by betegon in #314
  • Fix HTML entities and escaped underscores in table output by betegon in #313

Setup

  • Suppress agent skills and welcome messages on upgrade by BYK in #328
  • Suppress shell completion messages on upgrade by BYK in #326

Upgrade

  • Replace Bun.mmap with arrayBuffer on macOS to prevent SIGKILL by BYK in #340
  • Use MAP_PRIVATE mmap to prevent macOS SIGKILL during delta upgrade by BYK in #339

Other

  • (ci) Generate JUnit XML to silence codecov-action warnings by BYK in #300
  • (install) Fix nightly digest extraction on macOS by BYK in #331
  • (nightly) Push to GHCR from artifacts dir so layer titles are bare filenames by BYK in #301
  • (project create) Auto-correct dot-separated platform to hyphens by BYK in #336
  • (region) Resolve DSN org prefix at resolution layer by BYK in #316
  • (test) Handle 0/-0 in getComparator anti-symmetry property test by BYK in #308
  • (trace-logs) Timestamp_precise is a number, not a string by BYK in #323

Documentation 📚

  • Document SENTRY_URL and self-hosted setup by BYK in #337

Internal Changes 🔧

Api

  • Upgrade @sentry/api to 0.21.0, remove raw HTTP pagination workarounds by BYK in #321
  • Wire listIssuesPaginated through @sentry/api SDK for type safety by BYK in #310

Other

  • (craft) Add sentry-release-registry target by BYK in #325
  • (project create) Migrate human output to markdown rendering system by BYK in #341

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://cli.sentry.dev/pr-preview/pr-342/

Built to branch gh-pages at 2026-03-04 22:25 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

Codecov Results 📊

2683 passed | Total: 2683 | Pass Rate: 100% | Execution Time: 0ms

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +2
Passed Tests 📈 +2
Failed Tests
Skipped Tests

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 3107 uncovered lines.
✅ Project coverage is 82.65%. Comparing base (base) to head (head).

Files with missing lines (2)
File Patch % Lines
markdown.ts 89.97% ⚠️ 34 Missing
colors.ts 96.67% ⚠️ 2 Missing
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    82.64%    82.65%    +0.01%
==========================================
  Files          127       127         —
  Lines        17895     17904        +9
  Branches         0         0         —
==========================================
+ Hits         14788     14797        +9
- Misses        3107      3107         —
- Partials         0         0         —

Generated by Codecov Action

@BYK BYK marked this pull request as ready for review March 4, 2026 22:17
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Part 1: Inline code spans now render with cyan text on dark teal
background with space padding for a 'pill' look, replacing the
previous plain yellow text.

Part 2: h1/h2 headings now display a colored divider bar (━)
underneath, clamped to 30 chars. h3+ headings are now bold cyan
(previously non-bold).

Part 3: Update Terminal.astro hero demo and index.mdx feature
terminal to show current column layout (LEVEL, SHORT ID, COUNT,
SEEN, FIXABILITY, TITLE). Remove ALIAS column and .accent CSS
class.

Part 4: Update tests to assert new code span padding, heading
divider bars, divider clamping, and h3+ no-divider behavior.
@BYK BYK force-pushed the byk/feat/md-style branch from 34d07fe to c153a7e Compare March 4, 2026 22:25
@BYK BYK merged commit 3cabb9b into main Mar 4, 2026
21 checks passed
@BYK BYK deleted the byk/feat/md-style branch March 4, 2026 22:37
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