mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
add json formatting to docs
This commit is contained in:
parent
a2025cff43
commit
548188d3fa
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
{{ if in $text "\n" }}
|
||||
{{ $text = print "''\n " (strings.TrimSuffix " " (replace $text "\n" "\n ") ) "''" }}
|
||||
{{ else }}
|
||||
{{ $text = jsonify $text }}
|
||||
{{ $text = $text | jsonify (dict "indent" " ") }}
|
||||
{{ end }}
|
||||
|
||||
<pre class="highlight"><code>{{ $text }}</code></pre>
|
||||
Loading…
Add table
Add a link
Reference in a new issue