feat(file-tree): enhance shortcode with name param and deprecated fullRootName param

// ignore-for-release
This commit is contained in:
Cell
2026-01-14 18:12:12 +08:00
parent fdfd772100
commit b4008081d7
5 changed files with 16 additions and 13 deletions
@@ -151,6 +151,12 @@ Trying the file not found case (should fallback to next mode):
{{< file-tree "content" />}}
{{< file-tree name="{path}" />}}
{{< file-tree name="FixIt/apps/test" />}}
{{< file-tree path="posts" name="{path}" />}}
### Named parameters
{{< file-tree path="data" level=2 />}}