Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.
/ syntect-cli Public archive

Minimal CLI for syntect designed for embedding into other projects

License

Notifications You must be signed in to change notification settings

mishushakov/syntect-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

syntect-cli

Minimal CLI for syntect designed for embedding syntect syntax highlighting into other projects

Usage

syntect-cli accepts STDIN input with code and writes the result to STDOUT

syntect-cli --lang <lang> --theme <theme>

Example

cat src/main.rs | syntect-cli --lang rust --theme base16-ocean.dark > index.html

Build

  1. Get Rust
  2. Clone the repository
  3. Run cargo build --release

About

Minimal CLI for syntect designed for embedding into other projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages