FileTree constructor
const
FileTree()
Creates a file tree CustomComponent.
The contents of a <FileTree> tag will be parsed as a file tree structure, and must be a single
unordered list, with each item representing a file or folder. The following rules apply:
- Folders can contain nested lists of files/folders.
- Entries ending with a
/are also treated as folders, but with no sub-list. - Folders starting with a
^are closed by default. - Bold text indicates highlighted entries.
- Comments can be added after the name of the file/folder.
Implementation
const FileTree() : super.base();