Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
srmullen committed Nov 9, 2021
1 parent 2aacc27 commit 0bd5955
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/routes/help/submitting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
let clipboardCopy = false;
const copy = () => {
copyToClipboard(JSON.stringify(jsonSnippet, null, 4)).then(() => (clipboardCopy = false));
copyToClipboard(JSON.stringify(jsonSnippet, null, '\t')).then(() => (clipboardCopy = false));
clipboardCopy = true;
};
Expand Down Expand Up @@ -171,7 +171,7 @@

<h2>JSON Snippet</h2>
<pre>
{JSON.stringify(jsonSnippet,null,4)}<button on:click={copy}>{clipboardCopy ? 'Copied' : 'Copy'}</button>
{JSON.stringify(jsonSnippet,null,'\t')}<button on:click={copy}>{clipboardCopy ? 'Copied' : 'Copy'}</button>
</pre>
<br />
Copy this snippet and add it to
Expand Down Expand Up @@ -246,6 +246,7 @@ propose your changes
pre {
position: relative;
tab-size: 4;
}
pre button {
Expand Down

0 comments on commit 0bd5955

Please sign in to comment.