cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Who rated this post

@Josep I'd suggest using HTML instead for greater flexibility. Simple example that would work for a General Purpose Dynamic Section in the layout:

 

html = """
<table border="1x solid black">
<tr>
<th>Col 1</th>
<th>Col 2</th>
</tr>
<tr>
<td style="background-color:#FF1744">1a</td>
<td>2a</td>
</tr>
<tr>
<td style="background-color:#00CD33">1b</td>
<td>2b</td>
</tr>
</table>
"""
return_results({
'ContentsFormat': EntryFormat.HTML,
'Type': EntryType.NOTE,
'Contents': html
})
Who rated this post