Markdown DOM Spec for LLMs: Request for Comment
github.comMarkdown 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