how-do-i-escape

For when you ask yourself "how do I escape that"?
Prints escape sequences for unicode graphemes
It seems like every other day I'm looking up what the escape sequence for a
unicode grapheme is in various web languages. And I'm also trying to learn Rust.
So I wrote a tool in Rust.
Install & Use
$ cargo install how-do-i-escape
$ how-do-i-escape ยง
css = "\00A7"
html = §
js = "\u00A7"
What I'm thinking for 1.0
- [x] Check code coverage is working properly
- [x] Prefer HTML entities if one exists
- [x] Improve output readability (maybe with colour)
- [ ] Try and reduce the time it takes to run
cargo install
- [x] Test against stable, beta and nightly Rust
- [x] Read spec to figure out how graphemes > FFFF are supposed to work
- [ ] Use HTML entities that are made of two code points