Peter Steinberger 6/1/2025

Introducing Demark: HTML in. MD out. Blink-fast.

Read Original

Demark is a new Swift package that converts messy or malformed HTML into clean Markdown. It leverages two JavaScript libraries (Turndown.js and html-to-md) running in a WKWebView, offering a choice between a highly accurate engine and a faster, lightweight one. The article details the development process, including AI-assisted coding, and provides a simple usage example for Apple platforms.

Introducing Demark: HTML in. MD out. Blink-fast.

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes