mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-21 03:49:47 -05:00
Update readme
This commit is contained in:
parent
fb80fdb6e2
commit
b7350f340d
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@
|
|||
|
||||
**Rustypaste-pretty** is a minimal file upload/pastebin service with client side highlighting provided by highlight.js.
|
||||
|
||||
Just add `?pretty` to the end of a link to highlight!
|
||||
It will use pretty mode if the client sends an `Accept:` header with `text/html` present and
|
||||
`server.pretty_default` is true in the config, or if `?pretty` is in the query string.
|
||||
Use `?nopretty` in the query string to force disable.
|
||||
|
||||
```sh
|
||||
$ echo "some text" > awesome.txt
|
||||
|
|
Loading…
Reference in a new issue