How to use npaste.de
To create a paste simply go to the start page and enter your paste, add an optional description (see below) and select your highlighting language of choice.
The description has a special markup language. You can:
- Reply to (mention) a paste by adding
/<ID>/
to your description. This is done automatically if you click theNew reply
button on the viewing page of a paste. - Use tags to make it easier to find your pastes again. Simply add
#<TAG>
to your description. A tag may consist of any number or char. Most of the common special chars are also supported.
To customize the presentation of your paste you can use the URL to change syntax highlighting or the HTML layout:
npaste.de/<ID>/
shows the full paste with layout and highlighting (notice the trailing slash)npaste.de/<ID>/<LANGUAGE>
shows the full paste with the new<LANGUAGE>
syntax highlighting. You can either define the full language name, the common file extension or a full file name with extension, e.g.npaste.de/<ID>/Haskell
,npaste.de/<ID>/hs
ornpaste.de/<ID>/example.hs
npaste.de/<ID>
without a trailing slash shows the paste as plaintext without HTML markup (which makes it easy to download a paste)
Filtering pastes is done either by clicking IDs, tags or language links directly, or by using the following rules. Note that you can combine these rules, such that all of them have to be met for a paste to be listed.
/<ID>/
: List all pastes that have or contain (in their description) the given ID#<TAG>
: List all pastes that share the same tag"<DESC>"
: List all pastes where <DESC> is part of the description<LANG>
: List all pastes with the given language (no special chars needed)
On the main website all pages are accessible via one letter keywords:
npaste.de
ornpaste.de/
is where you add new pastesnpaste.de/v
view all recent pastesnpaste.de/v/t/<TAG>
view all recent pastes which contain the given tag in their descriptionnpaste.de/a
is the current about page