Skip to content

API

A simple HTML to Gemtext converter.

html_to_gemtext

html_to_gemtext(html_content: str) -> str

Convert HTML content to Gemtext.

Parameters:

Name Type Description Default

html_content

str

The HTML content to convert.

required

Returns:

Type Description
str

The converted Gemtext content.