forked from the-distro/floral.systems
oop
This commit is contained in:
parent
826449e72a
commit
003b58342e
|
@ -7,7 +7,7 @@
|
|||
export let slice = true;
|
||||
|
||||
let renderedCode;
|
||||
$: renderedCode = code.replace(/#<hidden>[^]*?#<\/hidden>/, "");
|
||||
$: renderedCode = slice ? code.replace(/#<hidden>[^]*?#<\/hidden>/, "") : code;;
|
||||
</script>
|
||||
|
||||
<div class="whitespace-pre-wrap font-mono">
|
||||
|
|
Loading…
Reference in a new issue