Search sections in Jupyter Viewlet (#9346)

This commit is contained in:
Chris LaFreniere
2020-02-26 13:59:38 -08:00
committed by GitHub
parent 924815353d
commit 29cf1f898e
4 changed files with 16 additions and 15 deletions

View File

@@ -45,6 +45,9 @@ export class BookTreeItem extends vscode.TreeItem {
this.contextValue = 'savedBook';
}
} else {
if (book.type === BookTreeItemType.Markdown && book.page.expand_sections) {
this.contextValue = 'section';
}
this.setPageVariables();
this.setCommand();
}