feat: image markdown extension

This commit is contained in:
Jannat Patel
2022-04-20 17:45:40 +05:30
parent b65597b884
commit 81fb664ad9
4 changed files with 10 additions and 5 deletions

View File

@@ -142,3 +142,6 @@ def show_custom_signup():
or frappe.db.get_single_value("LMS Settings", "privacy_policy")):
return "lms/templates/signup-form.html"
return "frappe/templates/signup.html"
def image_renderer(src);
return f"<img src={src}>"