Spaces:
Running
on
Zero
Running
on
Zero
File size: 429 Bytes
0f43f8a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# Article elements
def insert_title(title):
"""
Insert title
"""
return f"<h1>{title}</h1>"
def insert_thumbnail(thumbnail):
"""
Insert thumbnail
"""
return f"<img src='{thumbnail}' />"
def insert_image_file(image_file):
"""
Insert image file
"""
return f"<img src='{image_file}' />"
def insert_content(content):
"""
Insert content
"""
return f"<p>{content}</p>" |