2254
1852

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ディレクトリ構成図を書くときに便利な記号

Posted at

テキストベースでちょっとしたディレクトリ構成図を書きたい時、いつもあの記号どうやって出すっけ??となる。なので、いい加減メモすることにした。

以下のようなのを書きたい

root/
 ├ bin/
 ├ etc/
 ├ usr/
 │ └ local/
 │   └ bin/
 └ lib/

コピペ用記号集

┣ ┠ ┝ ├
┫ ┨ ┥ ┤ 
│ ┃
─ ━
┌ ┏ ┓ ┐
└ ┗ ┛ ┘

ちなみに、MSIMEだと以下の変換で出せる
(引用元:http://support.microsoft.com/kb/883172/ja)

読み 文字
たて   │ ┃
たてひだり ┨ ┥ ┤ ┫
たてみぎ ┣ ┠ ┝ ├
ひだりうえ ┌ ┏
ひだりした └ ┗
ふとわく ┗┻━┛ ┏┳━┓
ほそわく └┴─┘ ┌┬─┐
まんなか ┼ ╋ ┿ ╂
みぎうえ ┐ ┓
みぎした ┘ ┛
よこ ─ ━
よこうえ ┻ ┷ ┸ ┴
よこした ┳ ┯ ┰ ┬
2254
1852
8

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2254
1852

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?