[main] Images images images
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 52s

This commit is contained in:
2024-12-30 23:20:54 +01:00
parent 15bda3d3d5
commit 57dde1df71
17 changed files with 11 additions and 9 deletions

View File

@@ -123,7 +123,7 @@ class MarkdownRenderer:
return True
def get_image(self, image_type: str, filename: str, alt: str = "", width: int = None, height: int = None) -> Markup:
def get_image(self, image_type: str, filename: str, alt: str = "", width: int = None, height: int = None,css_class:str=None) -> Markup:
"""
Generate a dynamic HTML <img> tag for an image using ImageService's image_tag method.
"""
@@ -138,7 +138,8 @@ class MarkdownRenderer:
filename=filename,
alt=alt,
width=width,
height=height
height=height,
css_class=css_class
)
return Markup(tag)