May I ask for idea. my template have 2 table type.
Dynamic table (Green), can done by tool. This is no problem.
Dynamic number of tables (Red), I have only one idea to use javascript to loop “S” length then write html.
from 2. Dynamic number of tables, do you have any other idea to achieve this requirement?
I am not sure maybe ol have some tools or some way to achieve this without script.
Here is an example templates with two approaches, both using Handlebars snippets. The first section uses the partial helper and the second uses a script to load the snippet.
The repeat logic is in the Handlebars snippet as suggested by @Marten