forked from unitoo/erpnext_utils
6 lines
160 B
Python
6 lines
160 B
Python
import frappe
|
|
import markdownify
|
|
|
|
@frappe.whitelist()
|
|
def html_to_markdown(html_content):
|
|
return markdownify.markdownify(html_content, heading_style="ATX")
|