docs: make gen.pl support *italic* and **bold**

Remove some nroffisms from the cmdline doc files to simplify editing,
and instead support this markdown style.

Closes #6771
This commit is contained in:
Daniel Stenberg 2021-03-22 16:50:57 +01:00
parent c915662485
commit d7f737dd13
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
21 changed files with 53 additions and 41 deletions

View file

@ -9,7 +9,7 @@ Category: http post upload
This posts data, similar to the other --data options with the exception
that this performs URL-encoding.
To be CGI-compliant, the <data> part should begin with a \fIname\fP followed
To be CGI-compliant, the <data> part should begin with a *name* followed
by a separator and a content specification. The <data> part can be passed to
curl using one of the following syntaxes:
.RS
@ -29,6 +29,6 @@ URL-encode that data and pass it on in the POST.
.IP "name@filename"
This will make curl load data from the given file (including any newlines),
URL-encode that data and pass it on in the POST. The name part gets an equal
sign appended, resulting in \fIname=urlencoded-file-content\fP. Note that the
sign appended, resulting in *name=urlencoded-file-content*. Note that the
name is expected to be URL-encoded already.
.RE