Closed jswift24 closed 2 months ago
Hello @jswift24
Try integrate this: http://www.eslinstructor.net/vkbeautify/
Thanks. Looks like that plugin does pretty-printing. I'm looking for syntax highlighting (in colors). I thought this was built into the Datta Able template, doc link above?
https://prismjs.com/plugins/jsonp-highlight/ might help
That worked great! Thank you.
I'm displaying a JSON snippet:
I'd like to add syntax highlighting, like what's described in the [docs ](https://django-datta-able-enh.appseed-srv1.com/elements-ac_syntax_highlighter.html but I can't get it working. Here's the code I'm using:
<pre><code id="json-output" class="json" style="font-size: 1rem;">{{ cohorts_json|json_format }}</code></pre>
Please help.