Skip to content

Commit

Permalink
Fix md scroll (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc committed Nov 25, 2023
1 parent b67dffe commit c316976
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions samples/jp_app_launcher_config_2.yaml
Expand Up @@ -5,6 +5,13 @@
type: notebook
catalog: Config 2

- title: Markdown
description: Example of opening a markdown file
source: ./beam.md
cwd: '.'
type: markdown
catalog: Config 2

- title: Command example 2
description: Example of calling JupyterLab commands
type: jupyterlab-commands
Expand Down
2 changes: 1 addition & 1 deletion src/factories/url/url_factory.ts
Expand Up @@ -12,7 +12,7 @@ export class URLFactory implements IPanelFactory {
args: IDict
): Promise<ILauncherApp | void> {
const source = config.source as string;
if (!(typeof source !== 'string')) {
if (typeof source !== 'string') {
return;
}
const instanceId = UUID.uuid4();
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Expand Up @@ -89,6 +89,7 @@ async function activate(
content: wrapper,
reveal: reveal.promise
});
main.addClass('jp-Document');
app.shell.add(main, 'main');
}
factory
Expand Down

0 comments on commit c316976

Please sign in to comment.