Skip to content

Instantly share code, notes, and snippets.

@flaviut
Last active November 6, 2023 15:35
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save flaviut/0db1aec4cadf2ef06455 to your computer and use it in GitHub Desktop.
Save flaviut/0db1aec4cadf2ef06455 to your computer and use it in GitHub Desktop.
Box Drawing characters with examples

Box drawing fun

A few boxes drawn with Unicode box drawing characters:

╔═╦═╗
╠═╬═╣
║ ║ ║
╚═╩═╝
┏━┳━┓
┣━╋━┫
┃ ┃ ┃
┗━┻━┛
┌─┬─┐
├─┼─┤
│ │ │
└─┴─┘
╭╮
╰╯

No idea WTF this is useful for, but whatever.

 ╳
╱ ╲
╲ ╱
 ╳
╱ ╲
▏ ▕
▔▔▔

Complete list

─
━
│
┃
┄
┅
┆
┇
┈
┉
┊
┋
┌
┍
┎
┏
┐
┑
┒
┓
└
┕
┖
┗
┘
┙
┚
┛
├
┝
┞
┟
┠
┡
┢
┣
┤
┥
┦
┧
┨
┩
┪
┫
┬
┭
┮
┯
┰
┱
┲
┳
┴
┵
┶
┷
┸
┹
┺
┻
┼
┽
┾
┿
╀
╁
╂
╃
╄
╅
╆
╇
╈
╉
╊
╋
╌
╍
╎
╏
═
║
╒
╓
╔
╕
╖
╗
╘
╙
╚
╛
╜
╝
╞
╟
╠
╡
╢
╣
╤
╥
╦
╧
╨
╩
╪
╫
╬
╭
╮
╯
╰
╱
╲
╳
╴
╵
╶
╷
╸
╹
╺
╻
╼
╽
╾
╿
@matheusmoreira
Copy link

Is it just me or is GitHub completely mangling these characters? I tried to use them to draw boxes in code comments but while they display perfectly in my terminal they look completely out of proportion when rendered in the GitHub web pages. Anyone else noticed this issue?

@flaviut
Copy link
Author

flaviut commented Feb 16, 2023

Works for me:

2023-02-15-235614_482x812_scrot

@matheusmoreira
Copy link

So it really is just me.

20230216_030430

Thanks for letting me know!

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