Hacker News new | ask | show | jobs
by justin--sane 3205 days ago
Nice work. But I'm not looking forward to trying to select text only to drag an image
2 comments

Thanks! I built this for Keynote presentations specifically. I wanted to be able to write code samples as snippet files, then generate a batch of images I can drop into my presentations.

If you're posting code on a website, you're right – you should prefer <pre><code> and prism.js or highlight.js :)

I like the idea too, but :) would be Chrome Headless capable of producing SVG somehow? Aside usability I think about indexability/SEO aspect of the material. SVG with texts would be excellent for on-line presentations without lecturer, PDFs, books and maybe even partially editable.
I agree, that would also benefit me enough to install a JS monster on my computer, if I could generate SVG or PDF from highlighted code. My current solution being taking Screenpresso screenshots.
My first thought was publication ready pseudo code or code snippets for posters
This would be nice, however, if you were making a printed document like a book.