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
1 2 3 4 |
```json Here goes your json object definition ``` |
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.