Function
_html_image_element
(
*,
id_,
img,
image_format,
caption,
show,
div_klass,
img_klass,
title,
tags,
embedded=False,
)
Source from the content-addressed store, hash-verified
| 235 | |
| 236 | |
| 237 | def _html_image_element( |
| 238 | *, |
| 239 | id_, |
| 240 | img, |
| 241 | image_format, |
| 242 | caption, |
| 243 | show, |
| 244 | div_klass, |
| 245 | img_klass, |
| 246 | title, |
| 247 | tags, |
| 248 | embedded=False, |
| 249 | ): |
| 250 | return _renderer("image.html.jinja")( |
| 251 | id=id_, |
| 252 | img=img, |
| 253 | caption=caption, |
| 254 | tags=tags, |
| 255 | title=title, |
| 256 | image_format=image_format, |
| 257 | div_klass=div_klass, |
| 258 | img_klass=img_klass, |
| 259 | embedded=embedded, |
| 260 | show="show" if show else "", |
| 261 | ) |
| 262 | |
| 263 | |
| 264 | def _html_code_element(*, id_, code, language, title, tags): |
Tested by
no test coverage detected