I am trying to create a hierarchical document using StringTemplate.
For example, a list of directories:
\alpha
\file1
\file2
\beta
\file3
\gamma
\file4
\file5
\file6
Is this even possible with StringTemplate?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Simple example would be:
list.st
page.st
For more information, you can read An introduction to StringTemplate (as well as Collections and Template Groups and Complex Data Types and Renderers in this trilogy). And don’t forget official StringTemplate documentation.