We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07c4acc commit 990fc00Copy full SHA for 990fc00
layouts/shortcodes/external-json.html
@@ -0,0 +1,4 @@
1
+{{ $raw := resources.GetRemote (.Get 0) }}
2
+{{ $data := transform.Unmarshal $raw.Content }}
3
+{{ $prettyJson := $data | jsonify (dict "prefix" " " "indent" " ") }}
4
+{{ highlight $prettyJson "json" "" }}
0 commit comments