【发布时间】:2013-11-11 00:26:49
【问题描述】:
我想在我的一些 Jekyll 博客文章中描述目录和文件结构,Markdown 是否提供了一种输出此类内容的简洁方式?
比如你可以在 Jekyll 网站上看到 at this link 页面上输出的目录&文件结构非常整齐:
.
├── _config.yml
├── _drafts
│ ├── begin-with-the-crazy-ideas.textile
│ └── on-simplicity-in-technology.markdown
├── _includes
│ ├── footer.html
│ └── header.html
├── _layouts
│ ├── default.html
│ └── post.html
├── _posts
│ ├── 2007-10-29-why-every-programmer-should-play-nethack.textile
│ └── 2009-04-26-barcamp-boston-4-roundup.textile
├── _data
│ └── members.yml
├── _site
└── index.html
我相信上面的行块字符是 Unicode(如 this answer here 中所述),但我不确定 Markdown 或其他浏览器将如何处理它们。我希望 Markdown 包含一些这样做的方法,它可能会输出为上面的 Unicode 字符。
【问题讨论】:
-
我正在使用tree.nathanfriend.io
标签: unicode markdown jekyll directory-structure project-structure