docs(formatters): evaluate twinkleplop for terminal code highlighting - #1634
Draft
jared-outpost[bot] wants to merge 1 commit into
Draft
jared-outpost[bot] wants to merge 1 commit into
jared-outpost[bot] wants to merge 1 commit into
Conversation
Records a suitability evaluation of Twinkleplop as a replacement for cli-highlight in the terminal Markdown renderer. Concludes not to migrate: Twinkleplop has no terminal/ANSI rendering API, its benchmarks omit highlight.js, and it is not installable from npm to run a real comparison. Fixes #1633
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
evaluates whether twinkleplop can replace
cli-highlightin the terminal markdown code-block renderer (packages/cli/src/lib/formatters/markdown.ts). this is an evaluation deliverable — no code, deps, or CI change.findings
chalk/COLORSpalette.cli-highlight) is absent, so the advertised speedups don't establish a benefit for this path.twinkleplopisn't resolvable from the npm registry (npm view twinkleplop→ 404), so startup/size/ANSI/coverage/plain-mode can't be measured here.sql.ts/@sentry/sqlish) is explicitly out of scope.recommendation
keep
cli-highlight; revisit only if twinkleplop ships a terminal/ANSI API, publishes a highlight.js-inclusive benchmark, and becomes installable so a real comparison can be run.full evaluation:
docs/superpowers/specs/2026-09-24-twinkleplop-terminal-highlighting-evaluation.mdCloses #1633