syntect
confy
syntect | confy | |
---|---|---|
5 | 3 | |
1,802 | 847 | |
- | 0.8% | |
7.1 | 5.0 | |
5 days ago | 2 months ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
syntect
-
Documentation generators and custom syntax highlighting
Zola (https://www.getzola.org/) can generate from markdown-ish files nice looking documentation websites (and also RSS feeds), it uses syntect (https://github.com/trishume/syntect) which supports sublime syntax highlight files. For github readme I don't have a solution besides using a png.
-
AIChat: A cli tool to chat with gpt-3.5/chatgpt in terminal.
Syntax highlighting: https://github.com/trishume/syntect
-
Will Treesitter ever be stable on big files?
I wonder if a plugin integrating syntect would be possible.
-
[Media] I made a Rust CLI game that tests how fast you can guess the language of a code block!
I love that idea! I think there might be a better way than just hardcoding all the comment types for all the languages, though. I'm using the syntect library which will parse the code based on syntax files, so I opened an issue there to see if they have anything that could help.
-
Is calling a Rust function from NodeJS via WASM like really slow?
Very recently, I stumbled onto a library called syntect, which is a syntax highlighting library, and I got interested in the project because it promises to be really fast.
confy
-
How do you manage configuration in rust?
I'd really recommend confy! It does exactly what you seem to want and supports YAML, TOML, and RON :)
-
[Media] I made a Rust CLI game that tests how fast you can guess the language of a code block!
I use confy for persisted data (just the token and high score for now) because I don't know the best practices for where to put those kinds of files, which stores it as TOML.
-
OS agnostic crate to save user config
Confy might do it for you : https://github.com/rust-cli/confy
What are some alternatives?
ammonia - Repair and secure untrusted HTML
config-rs - ⚙️ Layered configuration system for Rust applications (with strong support for 12-factor applications).
guess-that-lang - CLI game to see how fast you can guess the language of a code block!
itconfig-rs - Easy build a configs from environment variables and use it in globally.
rust-build.action - Automate publishing Rust build artifacts for GitHub releases through GitHub Actions
nickel - Better configuration for less
sublime-monokai-extended - Extends Monokai from Soda with additional syntax highlighting for Markdown, LESS, HTML, Handlebars and more.
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
language-guesser
PrismJS - Lightweight, robust, elegant syntax highlighting.
uclicious - Uclicious is a flexible reduced boilerplate configuration framework.