Convert between HTML and Markdown
html_markdown_convertConvert HTML to Markdown, or Markdown to HTML. html_to_markdown leaves out scripts, styles, forms and media and answers markdown and the page title, so a fetched page reads with fewer tokens. markdown_to_html answers html from CommonMark with GitHub tables, strikethrough and task lists; raw HTML in the Markdown is shown as text and a link with an unsafe scheme as its text, so the html can go into a page as it is. No API key, no account and no sign up: call it directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The HTML or the Markdown. | |
| direction | Yes |