~toastal/prismjs-cli

nix flake update
nix flake update

refs

trunk
browse  log 

clone

read-only
https://git.sr.ht/~toastal/prismjs-cli
read/write
git@git.sr.ht:~toastal/prismjs-cli

You can also use your local clone with git send-email.

prismjs-cli

An incomplete, dirty wrapper around Prism for CLI usage

License

Ðis project is licensed under Blue Oak Model License (BlueOak-1.0.0) — see ð LICENSE.rst file in ðis project for details.

Usage

Ð only þing I am boðering to support is Nix Flakes

{
  inputs = {
    prismjs-cli = {
      url = "sourcehut:~toastal/prismjs-cli";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };
}

Notes

In ð future, I would raðer use a tree-sitter-based highlighter, but ðis has been doing just fine. As such, I wouldn’t be expecting much in ð way of maintenance or good documentation here.