This commit is contained in:
mei (ckie) 2024-10-05 21:46:34 +03:00
parent 826449e72a
commit 003b58342e
Signed by untrusted user: ckie
GPG key ID: 13E79449C0525215

View file

@ -7,7 +7,7 @@
export let slice = true; export let slice = true;
let renderedCode; let renderedCode;
$: renderedCode = code.replace(/#<hidden>[^]*?#<\/hidden>/, ""); $: renderedCode = slice ? code.replace(/#<hidden>[^]*?#<\/hidden>/, "") : code;;
</script> </script>
<div class="whitespace-pre-wrap font-mono"> <div class="whitespace-pre-wrap font-mono">