Hi,
here’s the snippet:
{{< highlight java >}} {{% code file="basics/strings1.java" %}} {{< /highlight >}}
and the code shortcode:
{{ $file := .Get "file" | readFile }} {{ (print $file) }}
What’s being rendered:
I want var name = "John";
to be printed. How do I achieve this? I have to stop certain characters from being escaped.