Comment

Comment by brandoncarl

Markdown has emerged as the "lingua franca" of LLMs. It is structured enough to convey meaning, and yet readable everywhere.

However, as document lengths increase: 1. It is wasteful to put the entire context in memory 2. It can reduce accuracy by providing less relevant information 3. Increase the possibility of errors during edits

Inspired by Cloudflare's Markdown Content Type and Code Mode, we propose a lightweight document object model for Markdown to: 1. Reduce costs 2. Increase the accuracy of locating key sections 3. Increase speed 4. Increase the accuracy of editing documents

https://github.com/brandoncarl/markdown-dom

parent brandoncarl 8 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton