Hacker News new | ask | show | jobs
by shahbazac 1840 days ago
Please add a screenshot of what a rendered notebook looks like.
1 comments

If you download and open up the html file, it contains, what is essentially, a screenshot with explanations. (A very simple screenshot, but one you can extrapolate from.)
But that requires us downloading and opening it. A lot of effort if one just wants to take a quick look. A screenshot or demo would be better.
OK. I am afraid that I am not very knowledgeable about github, or YCombinator comments, but I'll give it a shot.

Here is a screen shot:

Simple screenshot:

https://github.com/timcwinkler/javascript-notebook/blob/main...

What you see if you load js+help.html:

https://github.com/timcwinkler/javascript-notebook/blob/main...

(Will the links work as I hoped? ... I am not disappointed.)

Don't get me wrong, I know that my comment sounds a little bit weird in the context of your project. I know that I could just rightclick the file, download and open it in the browser.

It's just more of a hint to you that, whenever you want to show something to the public, every extra action the user has to make, could lose you that user.

Keep in mind that "we" want to figure out in seconds if we want to spend more time looking at what you have created or not.

What I would wish that I could do is just make it so that there was a link to the HTML file in the Readme. Click it and there you go. My impression is that this is discouraged. (Am I wrong about that?)
You can do that with Github Pages, but I'm not too knowledgable. But I copied your code in an codesandbox:

https://ijlkq.csb.app/

Fork it if you want, I will delete it then (or on your request)

Come on. Two clicks !== a lot of work
You can instead use githack[1] to quickly serve files directly from your repository.

[1]: https://raw.githack.com

Another very useful pointer. Thank you.

I wonder what "Files are automatically optimized" means, exactly?

Have tried this out.

(See comment https://news.ycombinator.com/item?id=27452226)