Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New list type: File tree #7761

Open
4 tasks done
ofek opened this issue Nov 28, 2024 · 1 comment
Open
4 tasks done

New list type: File tree #7761

ofek opened this issue Nov 28, 2024 · 1 comment
Labels
change request Issue requests a new feature or improvement

Comments

@ofek
Copy link
Collaborator

ofek commented Nov 28, 2024

Context

https://squidfunk.github.io/mkdocs-material/reference/lists/

Description

It would be nice to offer a way to display a directory-like structure.

Related links

https://starlight.astro.build/components/file-tree/

Use Cases

This would solve the issue of displaying how a folder should be structured without manual formatting or manual local creation in order to run the tree command which requires special flags and is not available on Windows. The second approach also doesn't give you icons for different extension types unless you set up your terminal with Nerd Fonts and sometimes those do not copy/paste well.

Visuals

image

Before submitting

@squidfunk
Copy link
Owner

Thanks for suggesting. I'm not sure how many users would need this, and how the syntax/markup for this would look, but we can leave it open for a while to see if others would find it useful as well.

@squidfunk squidfunk added the change request Issue requests a new feature or improvement label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change request Issue requests a new feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants