swift-html
swift-html copied to clipboard
Make the Tag render function public
I have a case where I need access to render(render: Tag, level: Int = 0) -> String
Can I ask you why do you need access to this function? What's your use case?
I'm using HTML to assist in visualizing some large datasets. However, it turns out the datasets are so large rendering every row using the Tags is a bottleneck. So I use the tags to render a couple of header rows, add the rest of the rows as strings then add that String to the table using setContents.