Re:Show HN: Ray.so – Create images of your code
by thomaspaulmann on Wednesday February 17, 2021 @01:03PM
(#26169426)
Yeah, we wanted to add an API at some point and also provide a deeper integration with Raycast. What would you like to build with the API?
[ Parent
| on HN ]
Re:Show HN: Ray.so – Create images of your code
by mechero on Wednesday February 17, 2021 @01:07PM
(#26169487)
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.
Re:Show HN: Ray.so – Create images of your code
by kaeruct on Wednesday February 17, 2021 @02:48PM
(#26170719)
Wouldn't this make the code snippets completely inaccessible since you cannot copy text from an image?
Re:Show HN: Ray.so – Create images of your code
by mechero on Wednesday February 17, 2021 @03:12PM
(#26171068)
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.
Re:Show HN: Ray.so – Create images of your code
by thomaspaulmann on Wednesday February 17, 2021 @01:44PM
(#26169912)
Love the CI integration. A simple API should allow to build plugins for blogging platforms.