Hacker News new | ask | show | jobs
by mechero 1944 days ago
Say I have code snippets I want to include in a Jekyll blog for example. I could call your API from a pipeline process, store the images and link them from the posts. A plugin would be deeper integration, but an API would just work and would be great already.

I guess a similar process could work for other blogging platforms.

2 comments

Wouldn't this make the code snippets completely inaccessible since you cannot copy text from an image?
Indeed, but I'd link the GitHub code sources below each picture and provide good alt descriptions. JS plugins like Highlight or Prism end up building massive HTML making e.g. google's pagespeed tools complain about DOM sizes.

And, anyway, most people would rather clone the public repo or use GitHub for copy/paste purposes.

Love the CI integration. A simple API should allow to build plugins for blogging platforms.