diff --git a/docs/api.md b/docs/api.md index 9110662..6f80d48 100644 --- a/docs/api.md +++ b/docs/api.md @@ -106,11 +106,13 @@ You can also paste your file content to the API via curl, directly from the comm ```bash -$ alias dpaste="curl -F 'format=url' -F 'content=<-' https://dpaste.org/api/" +$ alias dpaste="curl -F 'format=url' -F 'content=<-' https://text.dpaste.org/api/" $ cat foo.txt | dpaste https://dpaste.org/ke2pB ``` +In order to get Python syntax highlighting, remove the `text.` part from the command. + !!! hint "Note" If you wrote or know a third party dpaste plugin or extension, please open an Issue on Github and I will added here.