docs: enable syntax highlighting in several docs files

... for better readability

Closes #6286
This commit is contained in:
0xflotus 2020-12-07 18:09:37 +01:00 committed by Daniel Stenberg
parent eddae97406
commit 5253444090
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
7 changed files with 260 additions and 164 deletions

View file

@ -307,12 +307,14 @@ Example:
(page located at `http://www.formpost.com/getthis/`)
<form action="post.cgi" method="post">
<input name=user size=10>
<input name=pass type=password size=10>
<input name=id type=hidden value="blablabla">
<input name=ding value="submit">
</form>
```html
<form action="post.cgi" method="post">
<input name=user size=10>
<input name=pass type=password size=10>
<input name=id type=hidden value="blablabla">
<input name=ding value="submit">
</form>
```
We want to enter user 'foobar' with password '12345'.
@ -419,7 +421,9 @@ if it should be used on secure connections only (`secure`).
If you've received a page from a server that contains a header like:
Set-Cookie: sessionid=boo123; path="/foo";
```http
Set-Cookie: sessionid=boo123; path="/foo";
```
it means the server wants that first pair passed on when we get anything in a
path beginning with "/foo".