Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I find it confusing that author proposes llms.txt, but the content is actually markdown? I get that they tried to follow the convention, but then why not make it a simple text file like the robots.txt is?


Markdown is plain text. llms.txt is meant to be displayed in plain text format, not rendered to html.


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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: