Skip to content
jalco-drop
Esc
↑↓navigate↵open⌘Jpreview
On this page

Code and text

Code opens highlighted in your theme with linkable lines, and terminal output keeps its colours.

A TypeScript file, highlighted in the site's code theme

Any text file that isn’t one of the other formats opens as code: highlighted in your code theme, with line numbers. The file’s extension picks the language, from over 60 including TypeScript, Python, Go, Rust, Swift, SQL, YAML and shell. Anything else shows as plain text.

jalco-drop src/server.ts
pbpaste | jalco-drop -n snippet.py

Piped text uploads as paste.txt unless you name it with -n. The extension in the name picks the highlighting.

Click a line number to put #L12 on the link. Whoever opens it lands on that line, highlighted.

Terminal output

Text with terminal colour codes keeps its colours, whatever the file is called. Most tools drop their colours when their output is piped, so ask for them:

FORCE_COLOR=1 npm test 2>&1 | jalco-drop -n test.log
Test runner output that kept its colours

Size

Text files over 512 KB open as a download page instead of a preview. The raw file is at /<slug>/<file name> either way.

Was this page helpful?