andreaskoch / allmark

A cross-platform markdown web server
https://allmark.io
Other
314 stars 73 forks source link

HTML rendering of children items is fixed #17

Open deminngi opened 7 years ago

deminngi commented 7 years ago

I have a problem displaying a complex file structure with allmark.

Here my questions: How can I show only the root page and how can I show all children from root page and how can I show all children in children from child page?

Here my layout:

.                                                                                                                                             
├── 01.00.Chapter                                                                                                                             
│   ├── 01.00.Chapter.md                                                                                                                      
│   ├── 01.01.Chapter                                                                                                                         
│   │   └── 01.01-Chapter.md                                                                                                                  
│   ├── 01.02.Chapter                                                                                                                         
│   │   └── 01.02-Chapter.md                                                                                                                  
│   ├── 01.03.Chapter                                                                                                                         
│   │   └── 01.03-Chapter.md                                                                                                                  
│   └── 01.04.Chapter                                                                                                                         
│       └── 01.04-Chapter.md                                                                                                                  
├── 02.00.Chapter                                                                                                                             
│   ├── 02.00.Chapter.md                                                                                                                      
│   ├── 02.01-Chapter                                                                                                                         
│   │   ├── 02.01.01-Chapter                                                                                                                  
│   │   │   └── 02.01.01.Chapter.md                                                                                                              
│   │   ├── 02.01.02-Chapter                                                                                                                  
│   │   │   └── 02.01.02.Chapter.md                                                                                                              
│   │   ├── 02.01.03-Chapter                                                                                                                  
│   │   │   └── 02.01.03.Chapter.md                                                                                                              
│   │   └── 02.01.Chapter.md                                                                                                                  
│   ├── 02.02-Chapter                                                                                                                         
│   │   └── 02.02-Chapter.md                                                                                                                  
│   └── 02.03-Chapter                                                                                                                         
│       └── 02.03-Chapter.md        
└── Home.md

Thanks in advance