3 ms·
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
by mechero 6y 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.
- thomaspaulmann 6y agoLove the CI integration. A simple API should allow to build plugins for blogging platforms.
- kaeruct 6y agoWouldn't this make the code snippets completely inaccessible since you cannot copy text from an image?
- mechero 6y agoIndeed, 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.