George V. Reilly

Negative Circled Digits

I found something very useful in the dingbats range of Unicode characters: the negative circled san-serif digits, ➊ ➋ ➌ ➍ ➎ ➏ ➐ ➑ ➒ ➓ .

I’ve started using them to label points of interest in code. They play well with the code-block directive in re­Struc­tured­Text.

sudo docker images --format '{{.Repository}}:{{.Tag}}' \ | grep $IMAGE_NAME \ | grep -v latest \ | head -1                                               ➍
  1. A Golang Template format string for image-name and tag
  2. Match some Docker image name
  3. Exclude the latest tag
  4. Take only the first

Because these characters are extra-wide even in a monospaced font, Vim doesn’t render them properly unless they’re followed by a space.

blog comments powered by Disqus
JSON data from Docker Images » « Review: The Rhesus Chart