Hacker News new | ask | show | jobs
by mkl 1764 days ago
There's no option for that when submitting. I think it's probably moderator-applied.
2 comments

It usually happens automatically, but obviously not this time. That makes it very hard to think about it, because it mostly works.

My hypothesis is that HN's detection only looks for file extension, not content type headers, because it doesn't fetch the submission itself.

grzm is correct, it does not happen automatically. See https://news.ycombinator.com/newsguidelines.html.
It's just text as part of the title. The submitter can do it (until the edit time runs out).