Skip to content

Instantly share code, notes, and snippets.

@carbontwelve
Forked from dsample/README.md
Created December 14, 2022 13:01
Show Gist options
  • Save carbontwelve/9347681106e925f01b06b3bafb574a0c to your computer and use it in GitHub Desktop.
Save carbontwelve/9347681106e925f01b06b3bafb574a0c to your computer and use it in GitHub Desktop.
ASCII art diagrams

ASCI art characters for creating diagrams

Characters:

  • ASCII code 191 = ┐ ( Box drawing character single line upper right corner )
  • ASCII code 192 = └ ( Box drawing character single line lower left corner )
  • ASCII code 193 = ┴ ( Box drawing character single line horizontal and up )
  • ASCII code 194 = ┬ ( Box drawing character single line horizontal down )
  • ASCII code 195 = ├ ( Box drawing character single line vertical and right )
  • ASCII code 196 = ─ ( Box drawing character single horizontal line )
  • ASCII code 197 = ┼ ( Box drawing character single line horizontal vertical )
  • ASCII code 217 = ┘ ( Box drawing character single line lower right corner )
  • ASCII code 218 = ┌ ( Box drawing character single line upper left corner )
  • ASCII code 179 = │ ( Box drawing character single vertical line )
  • ASCII code 180 = ┤ ( Box drawing character single vertical and left line )
┌───┐
│   │
└───┘

┌───┐  ┌───┐
│   ├──┤   │
└───┘  └───┘

┌───┐
│   │
└─┬─┘
  │
┌─┴─┐
│   │
└───┘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment