A small program that generates a Visual Studio Code snippets file, with either builtin snippets (>1000 Unicode characters) or a custom TOML input file.
```sh
cargo install character-snippets
character-snippets --builtin > ~/.config/Code/User/snippets/chars.code-snippets
character-snippets my-custom-snippets.toml > ~/.config/Code/User/snippets/chars.code-snippets
```
The format of the input file should be as follows:
toml
[Snippets]
xbrackets = "〚$1〛"
xcheckbox = "☐ "
xchecked = "☑ "
xcheckmark = "✓"
xch = "✓"
Visual Studio Code will interpret variables such as $1
as placeholders.
Output will be sent to standard output.
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.