I made a live code editor shortcode,
Which looks something like this,
<script>
var editor = ace.edit("editor");
editor.setTheme("ace/theme/textmate");
editor.session.setMode("ace/mode/python"); // Default to Python
var initialContent = `{{ .Inner | htmlUnescape | safeJS }}`;
editor.setValue(initialContent.trim());
But when deploying hugo, I get this error
{{.Inner | htmlUnescape | safeJS}} appears in a JS template literal
Could anyone give me any suggestions?