Share a snippet without attachments: paste code or text, get a link. The paste opens with syntax highlighting, and you can set it to expire.
Anyone with the link — but links are long and unguessable, and there is no public list of pastes.
Your choice: set a TTL in hours or keep it permanent.
Yes — pick the language when creating, and the paste renders highlighted.