Hacker News new | past | comments | ask | show | jobs | submit login

Only if the web server transparently converts non-HTML sources (Markdown, Word docs, Google docs, LaTeX, image galleries) into HTML on the fly.



Web browsers can render more than just HTML, can't they? Plain text at the very least, many do PDF as well.

That function really seems like it should be in the browser anyway. The server serves, the renderer renders.


if the server side file format has something semantically similar to #include then your lovely simple binary model fails (without browsers having the same)


HTML has this, yet browsers seem to cope...?


nginx has a lot of modules, this one can render markdown apparently

https://nginx-extras.getpagespeed.com/modules/markdown/


Especially older servers have quite a lot of those types of capabilities, rendering directories to fancy indexes, processing input files in various ways.

Like they'd even spawn arbitary processes for you (w/ CGI).




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: