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