docs: frappe.bold

This commit is contained in:
Hussain Nagaria 2023-12-16 16:48:11 +05:30
parent d5ccb51251
commit 0fa0d1ff0e

View file

@ -2297,7 +2297,8 @@ def get_desk_link(doctype, name):
return html.format(doctype=doctype, name=name, doctype_local=_(doctype))
def bold(text):
def bold(text: str) -> str:
"""Returns `text` wrapped in `<strong>` tags."""
return f"<strong>{text}</strong>"