Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use treesitter for highlighting instead of rouge #40

Open
Samasaur1 opened this issue Aug 7, 2023 · 3 comments
Open

use treesitter for highlighting instead of rouge #40

Samasaur1 opened this issue Aug 7, 2023 · 3 comments

Comments

@Samasaur1
Copy link
Owner

https://andrewtbiehl.com/blog/jekyll-tree-sitter
https://adrian.schoenig.me/blog/2022/05/27/tree-sitter-highlighting-in-jekyll/

@Samasaur1
Copy link
Owner Author

Okay, so:

The first link now links to a Jekyll plugin. When I try to add this to Nix for my site, it fails. The plugin is made up of a ruby library and a rust library. I figure I can build them as separate derivations. The rust one still fails. It turns out that vendoring tree-sitter-cli (a dependency of the rust project) gives you a vendored copy that is missing necessary files.

@Samasaur1
Copy link
Owner Author

Samasaur1 commented Jun 6, 2024

Similar vendoring issue

rust-lang/cargo#8885

@Samasaur1
Copy link
Owner Author

I opened an issue on the Cargo repository: rust-lang/cargo#14034

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

No branches or pull requests

1 participant