z_html2markdown (zotonic_core v1.0.0-rc.14)

Convert a html text to markdown syntax. This is used when editing TinyMCE texts with the markdown editor.

Link to this section Summary

Functions

Convert a html text to markdown format. Assumes the html has been sanitized and normalized.

Link to this section Functions

Link to this function

convert(Html, Options)

Convert a html text to markdown format. Assumes the html has been sanitized and normalized.