Skip to content

Commit 0d81a47

Browse files
committed
Add titles before callback functions in README
1 parent e306f6f commit 0d81a47

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ You can also add your output to the list of impostman outputs, so you can use it
113113

114114
This will put your output at the beginning of the alist, so it will be the default output.
115115

116-
#### Callback functions
116+
### Callback functions
117+
118+
#### init
117119

118120
```elisp
119121
(defun xxx-init ()
@@ -122,6 +124,8 @@ This will put your output at the beginning of the alist, so it will be the defau
122124

123125
Function called when the output buffer is created and before parsing the collection.
124126

127+
#### header
128+
125129
```elisp
126130
(defun xxx-header (name description)
127131
(...))
@@ -134,6 +138,8 @@ Arguments:
134138
- `name` (string): collection name (`unknown` if not found)
135139
- `description` (string): collection description
136140

141+
#### item
142+
137143
```elisp
138144
(defun xxx-item (level name description)
139145
(...))
@@ -147,6 +153,8 @@ Arguments:
147153
- `name` (string): item name
148154
- `description` (string): item description
149155

156+
#### request
157+
150158
```elisp
151159
(defun xxx-request (description method url headers body)
152160
(...))
@@ -162,6 +170,8 @@ Arguments:
162170
- `headers` (alist): request headers
163171
- `body` (string): request body
164172

173+
#### footer
174+
165175
```elisp
166176
(defun xxx-footer (name)
167177
(...))
@@ -173,6 +183,8 @@ Arguments:
173183

174184
- `name` (string): collection name (`unknown` if not found)
175185

186+
#### end
187+
176188
```elisp
177189
(defun xxx-end ()
178190
(...))

0 commit comments

Comments
 (0)