Hacker News new | ask | show | jobs
by nextaccountic 1619 days ago
You mean this page doesn't run javascript when you click the button? How is this possible?

edit: it submits a form, then reloads to a page with the code highlighted?

2 comments

no no, unfortunely demo page still uses a few lines of js just to send request and display it (inserts that html/css into the page)

but the result is just css/html that you can copy/paste anywhere and you'll have the code with syntax colouring without js required

if I didn't have some troubles with newlines then there'd be form for javascript disabled users today too

It could also post to an iframe