Skip to content

line-formatting with json_encode #8

Answered by riasvdv
lordisp asked this question in Q&A
Discussion options

You must be logged in to vote

Shiki highlights code, it does not format it. You should be able to do this by calling json_encode($arr, JSON_PRETTY_PRINT); instead

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lordisp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants