Skip to content

Instantly share code, notes, and snippets.

View kkalera's full-sized avatar
🎯
Focusing

Kenneth Breugelmans kkalera

🎯
Focusing
View GitHub Profile
@kkalera
kkalera / markdown-directory-tree.md
Created December 15, 2023 16:31 — forked from whoisryosuke/markdown-directory-tree.md
Markdown / Documentation - Generate Markdown-friendly directory / folder tree structure - @see: https://stackoverflow.com/a/23990108
  1. Install the Linux package tree using Homebrew: brew install tree
  2. Run the tree command on any directory to generate a Markdown friendly structure: tree your-directory

You can save it to a file by piping the results into a text file: tree . >> directory-structure.md

Example

packages/button
├── lib