Hacker News new | ask | show | jobs
by barnabee 1490 days ago
Everything else on a web page is rendered client side (HTML is just text…) so client side rendering makes sense to me here too.
1 comments

Rendering HTML doesn't require a huge JS library.
HTML requires a huge browser binary though, and the JS library should be cached on first visit to a page that uses it. Seems the right trade off to me to have a one off download for this use case (i.e. potentially viewing many pages on the same site, as opposed to a small number of pre rendered pages) then only need to transfer plain text which is already in the markdown source (so is needed if you’re going to edit or view the raw MD anyway).