Hello! I tried to use Template from ktor html, but...
# ktor
r
Hello! I tried to use Template from ktor html, but I have no idea how to use PlaceholderList, there is no information about it in documentation and I cannot find any sample. Do you maybe know any open source project which uses ktor Templates? Or some useful samples? Thanks!
a
You can find information about the templates in the official documentation.
r
Sure, there is information about Templates, but I was asking about PlaceholderList, there is only one sentence "Placeholder is used to insert the content. PlaceholderList can be used to insert the content that appears multiple times (for example, list items)." and there is no example neither in docs or in samples
a
Unfortunately, there is only an example with the
PlaceHolder
class usage at the moment. I've created an issue to add the missing example into the documentation.
r
I see, thanks