logoalt Hacker News

starkparkertoday at 4:08 PM2 repliesview on HN

This is also how you handle adding code blocks in GitHub comment suggestions, fwiw.

    ````suggestion
    This example should instead be:

    ```basic
    10 PRINT "LOL"
    20 GOTO 10
    ```
    ````

Replies

Helmut10001today at 4:26 PM

Yes, this is also how JupyterBook [1] does it (I think v1 uses Myst Markdown parser). I found this to work excellent!

[1]: https://jupyterbook.org/

behnamohtoday at 6:29 PM

what if you want to show ````? should you add ````` tags then?

show 1 reply