Skip to content

Commit

Permalink
Correct README
Browse files Browse the repository at this point in the history
This split in 3 snippets allows to represent the initial code obtained from the template
  • Loading branch information
fcollonval authored Jan 19, 2021
1 parent 882636d commit 7595d79
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions basics/hello-world/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,18 +128,12 @@ of the `JupyterFrontEndPlugin` class:

<!-- prettier-ignore-start -->
```ts
// src/index.ts#L9-L18
// src/index.ts#L9-L12

const extension: JupyterFrontEndPlugin<void> = {
id: 'hello-world',
autoStart: true,
activate: (app: JupyterFrontEnd) => {
console.log('the JupyterLab main application:', app);
}
};

export default extension;

```
```ts
Expand Down

0 comments on commit 7595d79

Please sign in to comment.