Closed ikeadrift closed 5 years ago
@tehn, if the docs website backend runs jekyll with syntax highlighting (and it looks like it does, per the css), then what about converting the somewhat browser-unfriendly png images to actual code blocks?
then we'd just do:
```javascript
all those lines of code here
` ```
i'd be willing to make the effort, so long as there's something like code fences to get it to display correctly. otherwise, i'm not sure how we'd regen the screenshot. also, switching to actual inline code might improve searchability.
thanks to @benzweig for the patch to fix the actual grid_studies_2.js
file; now we just need to see what we can do on the website/docs side.
agreed, this could be just replaced with a formatted code block as suggested by @nightmorph
i'm not sure if any syntax highlighters are currently installed but i can look into it
hey there! wasn't sure how to submit a PR for this as it's an image, but on line 26 of https://github.com/monome/docs/blob/master/docs/grid-studies/nodejs/images/grid-studies-nodejs-2.png there appears to be a
[
to the left ofs
, when you want a{
. only noticed because i wasn't sure why i was gettingkey received: 0, 0, $[s}
😛cheers!