Settings

Theme

Markdown DOM Spec for LLMs: Request for Comment

github.com

2 points by brandoncarl 10 days ago · 1 comment

Reader

brandoncarlOP 10 days ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection