Skip to content

feat: use local prismjs package for grammar generation - #42

Merged
FrayxRulez merged 1 commit into
TelegramMessenger:masterfrom
Danil42Russia:danil42russia/use-packaged-prism-grammars
Sep 21, 2026
Merged

FrayxRulez merged 1 commit into
TelegramMessenger:masterfrom
Danil42Russia:danil42russia/use-packaged-prism-grammars

Conversation

@Danil42Russia

@Danil42Russia Danil42Russia commented May 13, 2026 •

Copy link
Copy Markdown
Contributor

I modified it to use the version from the package so that I always get the same version of the grammar

Comment thread generate.js

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm not entirely sure why the unsupported list is needed, but I suspect that these languages were included in the components.js file but were missing from prismjs@1.29.0.
If that's the case, it would be best to remove the unsupported list.

@FrayxRulez
FrayxRulez merged commit d458c1d into TelegramMessenger:master Sep 21, 2026
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.

2 participants