|
@@ -3,8 +3,8 @@
|
|
|
|
|
|
import {
|
|
import {
|
|
ILayoutRestorer,
|
|
ILayoutRestorer,
|
|
- JupyterLab,
|
|
|
|
- JupyterLabPlugin
|
|
|
|
|
|
+ JupyterFrontEnd,
|
|
|
|
+ JupyterFrontEndPlugin
|
|
} from '@jupyterlab/application';
|
|
} from '@jupyterlab/application';
|
|
|
|
|
|
import { InstanceTracker } from '@jupyterlab/apputils';
|
|
import { InstanceTracker } from '@jupyterlab/apputils';
|
|
@@ -38,7 +38,7 @@ const FACTORY = 'Markdown Preview';
|
|
/**
|
|
/**
|
|
* The markdown viewer plugin.
|
|
* The markdown viewer plugin.
|
|
*/
|
|
*/
|
|
-const plugin: JupyterLabPlugin<IMarkdownViewerTracker> = {
|
|
|
|
|
|
+const plugin: JupyterFrontEndPlugin<IMarkdownViewerTracker> = {
|
|
activate,
|
|
activate,
|
|
id: '@jupyterlab/markdownviewer-extension:plugin',
|
|
id: '@jupyterlab/markdownviewer-extension:plugin',
|
|
provides: IMarkdownViewerTracker,
|
|
provides: IMarkdownViewerTracker,
|
|
@@ -50,7 +50,7 @@ const plugin: JupyterLabPlugin<IMarkdownViewerTracker> = {
|
|
* Activate the markdown viewer plugin.
|
|
* Activate the markdown viewer plugin.
|
|
*/
|
|
*/
|
|
function activate(
|
|
function activate(
|
|
- app: JupyterLab,
|
|
|
|
|
|
+ app: JupyterFrontEnd,
|
|
restorer: ILayoutRestorer,
|
|
restorer: ILayoutRestorer,
|
|
rendermime: IRenderMimeRegistry,
|
|
rendermime: IRenderMimeRegistry,
|
|
settingRegistry: ISettingRegistry
|
|
settingRegistry: ISettingRegistry
|