Skip to content

Commit 4773f56

Browse files
docs: Add newline escape in the docs for paste function.
1 parent bfaec69 commit 4773f56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/paste/templates/index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ <h3>EXAMPLES</h3>
400400
<pre><code>function paste() {
401401
local file=${1:-/dev/stdin}
402402
curl -X POST -F "file=@${file}" https://paste.fosscu.org/file
403+
echo '\n'
403404
}</code></pre>
404405
<button class="copy-button" title="Copy to clipboard"><i class="fas fa-clipboard"></i></button>
405406
</div>
@@ -537,4 +538,4 @@ <h3>EXAMPLES</h3>
537538

538539
setTimeout(typeWriter, 800);
539540
});
540-
{% endblock %}
541+
{% endblock %}

0 commit comments

Comments
 (0)