Skip to content

Commit eb9a0d8

Browse files
Update README-PLUGINS.md
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
1 parent 6e90488 commit eb9a0d8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README-PLUGINS.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ available right now:
1111
There are several pieces to be aware of for the plugin to work correctly:
1212
1. The setup.cfg(or setup.py) file must have the entry_points definition.
1313
For example:
14-
> [options.entry_points]
15-
nbgitpuller =
16-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dropbox=nbgitpuller_downloader_dropbox.dropbox_downloader
14+
15+
```toml
16+
[options.entry_points]
17+
nbgitpuller = dropbox=nbgitpuller_downloader_dropbox.dropbox_downloader
18+
```
1719

1820
2. The file referenced for use by nbgitpuller in the plug-in (the above example is looking for the
1921
file, dropbox_downloader) must implement the function handle_files(query_line_args) and be decorated with `@hookimpl`.

0 commit comments

Comments
 (0)