Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Show simple POSIX shell quoting in send-message documentation.
Anders Kaseorg57cb95af9f3c
diff --git a/templates/zerver/api/send-message.md b/templates/zerver/api/send-message.mdindex fa8117bc823..99452d9781a 100644--- a/templates/zerver/api/send-message.md+++ b/templates/zerver/api/send-message.md@@ -21,17 +21,17 @@ More examples and documentation can be found [here](https://github.com/zulip/zul# For stream messagescurl -X POST {{ api_url }}/v1/messages \-u BOT_EMAIL_ADDRESS:BOT_API_KEY \- -d "type=stream" \- -d "to=Denmark" \- -d "subject=Castle" \- -d $"content=I come not, friends, to steal away your hearts."+ -d 'type=stream' \+ -d 'to=Denmark' \+ -d 'subject=Castle' \+ -d 'content=I come not, friends, to steal away your hearts.'# For private messagescurl -X POST {{ api_url }}/v1/messages \-u BOT_EMAIL_ADDRESS:BOT_API_KEY \- -d "type=private" \- -d "to=[9]" \- -d $"content=With mirth and laughter let old wrinkles come."+ -d 'type=private' \+ -d 'to=[9]' \+ -d 'content=With mirth and laughter let old wrinkles come.'```{tab|zulip-send}@@ -58,7 +58,7 @@ If you'd like, you can also provide the message on the command-line with the```bashzulip-send --stream Denmark --subject Castle \- --message "I come not, friends, to steal away your hearts." \+ --message 'I come not, friends, to steal away your hearts.' \--user [email protected] --api-key a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5```