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