in plugins/mkdocs-atlas-formatting-plugin/mkdocs_atlas_formatting_plugin/block.py [0:0]
def build_atlas_example(self) -> None:
titles, graphs, exprs = [], [], []
for title, uri in self.input_lines:
titles.append(title)
graphs.append(self.mk_image_tag(uri))
expr = self.fmt_atlas_expr(uri)
if self.options and 'hilite' in self.options:
expr = self.hilite(expr, self.options['hilite'])
exprs.append(f'<pre>{expr}</pre>')
self.output_lines = ['<table><tbody>']
self.output_lines.append(self.mk_table_row(titles))
self.output_lines.append(self.mk_table_row(graphs))
self.output_lines.append(self.mk_table_row(exprs))
self.output_lines.append('</tbody></table>')