Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Confluence prism macro treeview
dialogTitleDirectory treeview
root
|-- subfolder
|   |-- movie.mov
|   |-- text.txt
|   `-- unicorn.jpg
|-- another-subfolder
|   |-- letter.docx
|   |-- calculation.xls
|   |-- contract.pdf
|   `-- presentation.ppt
|-- empty-subfolder
|-- subfolder-level1
|   |-- subfolder-level2
|   |   `-- going deeper
|   |        `-- going deeper
|   |            `-- .hidden-file
|   |-- file1.txt
|   `-- file2.txt
|-- music-and-videos
|   |-- hit.mp3
|   `-- blockbuster.avi
|-- .gitignore
|-- .htaccess
|-- backup1.zip
|-- backup2.tar.gz
`-- README.md
Info

The example above demonstrates how the macro "Prism directory preview" renders a directory treeview.

Macro content used to render the treeview above:

Confluence prism macro
languagenone
root
|-- subfolder
|   |-- movie.mov
|   |-- text.txt
|   `-- unicorn.jpg
|-- another-subfolder
|   |-- letter.docx
|   |-- calculation.xls
|   |-- contract.pdf
|   `-- presentation.ppt
|-- empty-subfolder
|-- subfolder-level1
|   |-- subfolder-level2
|   |   `-- going deeper
|   |        `-- going deeper
|   |            `-- .hidden-file
|   |-- file1.txt
|   `-- file2.txt
|-- music-and-videos
|   |-- hit.mp3
|   `-- blockbuster.avi
|-- .gitignore
|-- .htaccess
|-- backup1.zip
|-- backup2.tar.gz
`-- README.md

...