How to style a JSON block in Github Wiki?

Question:

Is there a way to nicely format/style JSON code in Github Wiki (i.e Markdown preferred)?

Answer:

Some color-syntaxing enrichment can be applied with the following blockcode syntax

Note: This won’t prettify the json representation. To do so, one can previously rely on an external service such as jsbeautifier.org and paste the prettified result in the wiki.

Leave a Reply

Close Menu