oop
This commit is contained in:
parent
826449e72a
commit
003b58342e
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue