Just for context : I am trying to generate a template from my rust code. I have this template in which I can inject data in the variable using this lib : crates.io: Rust Package Registry
In fact, I have a problem when I want to use the content value that I define, in a for, in a table like this :
Use the .. operator to spread the array of cells as arguments to the table. Note the table wants each cell as a separate argument. .. creates one function parameter per array element
Note that the function table.cell is not mandatory but it can be used to set options for a table cell. For content, it takes a single parameter only.
Note that the table takes the cells in row major order… rows are filled out first. So here, each iteration of the loop turned into one row.
Is it possible to do the same think with the table.header ?
I have values in my variable as a array… and I want for each one to add a header column name ?
Or, maybe I can put my value as the first row… and not using table.header…
My objection is that table is documented as being an element, it does not say that it’s a module. So it seems like an easter egg that we can import like that, but now I’ve seen it, will digest.