What's the use case for this?
I just used this for my repo's readme: https://github.com/hbcondo/revenut-api I originally used the image editor Pinta[1] to depict the JSON response from my API but Chalk.ist was much easier! Commit diff: https://github.com/hbcondo/revenut-app/commit/740f907d42e189... [1] https://www.pinta-project.com
Show HN: Chalk.ist – Create beautiful images of your source code
11–15 of 15 posts
Re: Show HN: Chalk.ist – Create beautiful images of your source code
#12A few questions: - Some of us are loath to promote macOS, and that includes using it in decorational elements. Any chance that you'll add other window decoration styles? - There's not a lot of languages listed; I wasn't able to find D (which didn't surprise me) or C++ (which did surprise me). I don't know what you're using now for syntax highlighting, but something like prismjs.com could easily add dozens of language…
Re: Show HN: Chalk.ist – Create beautiful images of your source code
#13Earlier quoted context omitted.
I just used this for my repo's readme: https://github.com/hbcondo/revenut-api I originally used the image editor Pinta[1] to depict the JSON response from my API but Chalk.ist was much easier! Commit diff: https://github.com/hbcondo/revenut-app/commit/740f907d42e189... [1] https://www.pinta-project.com
Cool. Personally, I'd favor text-based examples so that the user may easily run them on their own.
For those unaware, on GitHub you can get highlighting by giving the language at the start of the code block. For example:
```yaml
---
- hosts: all
vars:
idk: {}
```Re: Show HN: Chalk.ist – Create beautiful images of your source code
#14What's the use case for this?
I imagine some people might tweet snippets of code, and this makes the snippet look much more visually appealing.