saberland/saber

Do you want to work on this issue?
You can request for a bounty in order to promote it!
A plugin that uses shiki to highlight code blocks #462
egoist posted onGitHub
<!-- Please don't delete this template or we'll close your issue -->
<!-- Before creating an issue please make sure you are using the latest version of Saber. -->
Feature request
<!-- Please ask questions via following several ways. -->
<!-- https://chat.saber.land/ -->
<!-- https://stackoverflow.com/questions/ask?tags=saberjs -->
What problem does this feature solve?
It uses TextMate grammar to tokenize strings, and colors the tokens with VS Code themes. In short, Shiki generates HTML that looks exactly like your code in VS Code, and it works great in your static website generator.
What does the proposed API look like?
# saber-config.yml
plugins:
- saber-plugin-shiki
How should this be implemented in your opinion?
Check out saber-plugin-prismjs for reference.