Hacker News new | ask | show | jobs
by jph00 652 days ago
Markdown is plain text. llms.txt is meant to be displayed in plain text format, not rendered to html.
2 comments

Yes, and .py is "plain" text too. The extension however helps with signaling the intend of the file. Also, there is something to say for the argument "there is no such thing as plain text" [0]

[0]: https://youtu.be/gd5uJ7Nlvvo

If you had python code and you didn't want it to have syntax highlighting or be run/imported or any of the other normal things that you do with python files, it might make sense to have python code in a .txt. file.

Same idea here IMO. .md would signal the wrong intent, as you don't want to render it to markdown formatting or read as a markdown file normally is. You want it to be read as plain unrendered text.

Sam

Why even have an extension?

Unrelated, but the comment two steps above has the same username pattern as yours (3 letters+00)

.
> I changed it just for you ♡.

iflath wasn't change enough?

Why does the proposal propose using .md for all other LLM-directed resources, then? Aren't they equally meant to be displayed in plain text format?