Create a Paste - Sharpbin

Create a Paste

{#if previewMode}
{@html renderedMarkdown}
{:else} {/if} {#if isDragging || (dragError && dragError !== '')}
{#if dragError && dragError !== ''}

{dragError}

{:else}
{/if}
{/if}
{#if selectedSyntax === 'markdown'}
{/if}
{content.split('\n').length} line{content.split('\n').length !== 1 ? 's' : ''} {formatNumber(content.length)} char{content.length !== 1 ? 's' : ''}
(data.options?.maxPasteSize ?? 0)} > {formatBytes(currentByteSize)} {formatBytes(data.options?.maxPasteSize ?? 0)}
{#if selectedVisibility === 2}
{/if} {#if $user} {/if} {#if data.options?.requiresVerification && data.auth?.cf_turnstile_site_key}
{/if} {#if error}
{error}
{/if} {#if $user?.roles && $user.roles.includes(403)}
You are banned from creating new pastes.
{/if}