Go to file
Brian Hicks fbd274ed99 add README 2020-06-25 16:07:36 -05:00
nix bootstrap a cargo project with nix 2020-06-25 15:58:52 -05:00
src bootstrap a cargo project with nix 2020-06-25 15:58:52 -05:00
.envrc bootstrap a cargo project with nix 2020-06-25 15:58:52 -05:00
.gitignore bootstrap a cargo project with nix 2020-06-25 15:58:52 -05:00
Cargo.toml bootstrap a cargo project with nix 2020-06-25 15:58:52 -05:00
README.md add README 2020-06-25 16:07:36 -05:00
dev.sh bootstrap a cargo project with nix 2020-06-25 15:58:52 -05:00
shell.nix bootstrap a cargo project with nix 2020-06-25 15:58:52 -05:00

README.md

wrap-comment

wrap-comment is a little binary which will word-wrap comments in source code.

In:

-- this is a pretty long comment, right? I'd like it to be nicely formatted, mostly to please my sense of aesthetics, but also to fit nicely in blog posts and the like without adding line-wrapping properties that make my code look weird when printed or asking my reader having to scroll back and forth horizontally.

Out:

-- this is a pretty long comment, right? I'd like it to be nicely formatted,
-- mostly to please my sense of aesthetics, but also to fit nicely in blog
-- posts and the like without adding line-wrapping properties that make my
-- code look weird when printed or asking my reader having to scroll back and
-- forth horizontally.

Getting it

Once this software is done (it's not even close!) get it by cloning and running nix-env -if . in the root. Since I'm writing this mostly for me, I don't plan on compiling binaries, hosting them, signing them, etc.

License

wrap-comment is being developed in the open but is not open-source. To be honest, though, this is just because I don't want to pick a license right now. If you need this code for something, please let me know and we'll figure it out.