Skip to content

Commit 38cbb3c

Browse files
committed
put custom.gif in the right place
1 parent adbcf17 commit 38cbb3c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ This can be used with:
201201
|dev |Set to `true` to clear the require cache for `source` before loading. Allows editing the function without requiring an IDE reload. Default false if the `CI` enviornment variable is set, true otherwise.|
202202
<!-- codegen:end -->
203203
204+
##### Demo
205+
206+
![](./gifs/custom.gif)
207+
204208
<!-- codegen:start {preset: markdownFromJsdoc, source: src/presets/markdown-from-jsdoc.ts, export: markdownFromJsdoc} -->
205209
#### [markdownFromJsdoc](./src/presets/markdown-from-jsdoc.ts#L17)
206210
@@ -333,12 +337,6 @@ Generates a yaml config for the [GitHub Pull Request Labeler Action](https://git
333337
334338
![](./gifs/labeler.gif)
335339
336-
##### Demo
337-
338-
![](./gifs/custom.gif)
339-
340-
Note: right now, this preset isn't smart enough to follow source maps or transpile code, so `source` should point at compiled javascript, not typescript. And VSCode's eslint plugin caches modules, so if you edit the custom preset, you may need to recompile and reload VSCode for it to work properly.
341-
342340
### Customisation
343341
344342
In addition to the [custom](#custom) preset, you can also define your own presets in eslint configuration, e.g.:

0 commit comments

Comments
 (0)