Skip to content

No need to link to a directory #1

Description

@murata100

For the following directories and files.

# tree 
.
├── aaa
│   └── bbb.html
└── xxx
    └── yyy
        └── zzz.html

3 directories, 2 files

Now markdown-tree outputs:

## [aaa](aaa)
- [bbb.html](aaa/bbb.html)
## [xxx](xxx)
- [yyy](xxx/yyy)
  - [zzz.html](xxx/yyy/zzz.html)

No need to link to a directory.
In most cases, even if you browse the directory, the list of files will not be displayed (maybe 404 NotFound).

## aaa
- [bbb.html](aaa/bbb.html)
## xxx
- yyy
  - [zzz.html](xxx/yyy/zzz.html)

Is it possible to suppress with the option flag?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions