1. Handlebars Helpers
  2. HTML to Markdown

Handlebars Helpers

HTML to Markdown

Converts HTML content to Markdown during Handlebars substitution. Useful for clean text storage, AI prompts, knowledge content, and document processing.

Uses

  • Use to convert HTML to Markdown
  • Use to feed a web page content to an LLM via a prompt

Usage

Helper name : htmltomd

Parameter Description
content The HTML content to convert to Markdown

Examples

Simple Example

Example definition:

loading...

Substituted definition

loading...