Live data from Hacker News

Show HN: Chalk.ist – Create beautiful images of your source code

chalk.ist

11–15 of 15 posts

Re: Show HN: Chalk.ist – Create beautiful images of your source code

#11
post #6

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

Cool. Personally, I'd favor text-based examples so that the user may easily run them on their own.

Re: Show HN: Chalk.ist – Create beautiful images of your source code

#12
post #7

A 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…

Added Windows controls https://twitter.com/Idered/status/1699162712649990516

Re: Show HN: Chalk.ist – Create beautiful images of your source code

#13
post #11

Earlier 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.

Ditto

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: {}
    ```
Post reply on HN