Created
September 25, 2019 15:36
-
-
Save 1isten/21c30c1462525fa8d4e4c6da924e5291 to your computer and use it in GitHub Desktop.
use ascii art for markdown
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install rust | |
cargo install svgbob_cli | |
~/.cargo/bin/svgbob -h | |
~/.cargo/bin/svgbob --font-family monospace ascii.txt -o ascii.svg | |
base64 -i ascii.svg | pbcopy |
to use as url for <img src="...">
, prepend prefix data:image/svg+xml;base64,
to the base64 code
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks to svgbob