Skip to content

Commit 999ad7f

Browse files
Use http as the markdown code fence language
1 parent 45c46b1 commit 999ad7f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="https://github.com/FollowTheProcess/zap/raw/main/docs/img/logo.png" alt="logo" width=75%>
2+
<img src="https://github.com/FollowTheProcess/zap/raw/main/docs/img/logo.png" alt="logo">
33
</p>
44

55
# Zap
@@ -118,7 +118,7 @@ This project makes no such requirement, whitespace is entirely ignored meaning t
118118

119119
The [JetBrains HTTP Request in Editor Spec] allows for custom JavaScript [Response Handlers](https://github.com/JetBrains/http-request-in-editor-spec/blob/master/spec.md#324-response-handler) (e.g. the `{% ... %}` blocks), that take the response and transform it in some way:
120120

121-
```plaintext
121+
```http
122122
GET http://example.com/auth
123123
124124
> {% client.global.set("auth", response.body.token); %}
@@ -128,7 +128,7 @@ This is not supported in `zap` as it relies on editor-specific context and requi
128128

129129
However, the version of this syntax where you dump the response body to a file *is* supported!
130130

131-
```plaintext
131+
```http
132132
GET http://example.com/auth
133133
134134
> ./response.json
@@ -138,7 +138,7 @@ GET http://example.com/auth
138138

139139
The [JetBrains HTTP Request in Editor Spec] allows for a [Response Reference], but doesn't actually explain what that is or what should be done with it? So I've left it out for now 🤷🏻
140140

141-
```plaintext
141+
```http
142142
GET http://example.com
143143
144144
<> previous-response.200.json

0 commit comments

Comments
 (0)