Skip to content

chore(screenshot): use automad-prism-themes#709

Merged
Kikobeats merged 1 commit intomasterfrom
prism
Mar 17, 2026
Merged

chore(screenshot): use automad-prism-themes#709
Kikobeats merged 1 commit intomasterfrom
prism

Conversation

@Kikobeats
Copy link
Member

@Kikobeats Kikobeats commented Mar 17, 2026

Note

Medium Risk
Changes runtime Prism theme resolution for @browserless/screenshot by adding a new theme source and altering how theme files are discovered, which could break highlighting if theme IDs or packaging layouts differ.

Overview
Switches screenshot code-highlighting themes to prefer automad-prism-themes (while still supporting prism-themes) by adding the new dependency and updating the theme loader to build an on-disk index across both packages and throw a clearer error when a theme can’t be resolved.

Updates documentation to reference the new theme repository/CDN, expands theme listing guidance, and makes small README formatting tweaks (tables/spacing) to match the new theme sourcing.

Written by Cursor Bugbot for commit f9da6ed. This will update automatically on new commits. Configure here.

@Kikobeats Kikobeats force-pushed the prism branch 2 times, most recently from 9b1bc66 to 0123135 Compare March 17, 2026 13:50
@Kikobeats Kikobeats force-pushed the prism branch 3 times, most recently from aabd088 to 3088fed Compare March 17, 2026 13:56
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.

Fix All in Cursor

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

@Kikobeats Kikobeats merged commit eb74293 into master Mar 17, 2026
2 checks passed
@Kikobeats Kikobeats deleted the prism branch March 17, 2026 14:02
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