<script lang="ts">
  const {value, isBlock} = $props()
</script>

<code
  class="cl-surface-alt cl-text w-full overflow-auto whitespace-pre rounded px-1"
  class:block={isBlock}>
  {value.trim()}
</code>
