├── .github └── ISSUE_TEMPLATE │ └── issue.md ├── .gitignore ├── .prettierignore ├── .prettierrc ├── LICENSE ├── README.md ├── binder ├── postBuild └── requirements.txt ├── notebooks └── demo.ipynb ├── package.json ├── schema └── plugin.json ├── src ├── extension.ts ├── generators │ ├── index.ts │ ├── latex │ │ └── index.ts │ ├── markdown │ │ ├── get_headings.ts │ │ ├── get_rendered_headings.ts │ │ ├── index.ts │ │ ├── options_manager.ts │ │ ├── render.tsx │ │ └── toolbar_generator.tsx │ ├── notebook │ │ ├── append_collapsible_heading.ts │ │ ├── append_heading.ts │ │ ├── append_markdown_heading.ts │ │ ├── codemirror.tsx │ │ ├── get_code_cell_heading.ts │ │ ├── get_last_heading_level.ts │ │ ├── get_markdown_heading.ts │ │ ├── get_rendered_html_heading.ts │ │ ├── index.ts │ │ ├── is_heading_filtered.ts │ │ ├── options_manager.ts │ │ ├── render.tsx │ │ ├── set_collapsed_state.ts │ │ ├── tagstool │ │ │ ├── index.tsx │ │ │ ├── tag.tsx │ │ │ └── tag_list.tsx │ │ ├── toolbar_generator.tsx │ │ └── twist_button.tsx │ └── python │ │ ├── index.ts │ │ └── render.tsx ├── index.ts ├── registry.ts ├── toc.tsx ├── toc_item.tsx ├── toc_tree.tsx └── utils │ ├── generate_numbering.ts │ ├── headings.ts │ ├── is_dom.ts │ ├── is_markdown.ts │ ├── numbering_dictionary.ts │ ├── parse_heading.ts │ └── sanitizer_options.ts ├── style ├── img │ ├── autonumbering.svg │ ├── autonumbering_darktheme.svg │ ├── check.svg │ ├── code.svg │ ├── code_darktheme.svg │ ├── eyeball_hidden.svg │ ├── eyeball_hover.svg │ ├── eyeball_view.svg │ ├── markdown.svg │ ├── markdown_darktheme.svg │ ├── menu_arrow.svg │ ├── numbering.svg │ ├── tag.svg │ ├── tag_darktheme.svg │ ├── toggle_down.svg │ ├── toggle_down_darktheme.svg │ ├── toggle_right.svg │ └── toggle_right_darktheme.svg ├── index.css ├── list-dark.svg └── list-light.svg ├── toc.gif ├── tsconfig.json ├── tslint.json └── yarn.lock /.github/ISSUE_TEMPLATE/issue.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/.github/ISSUE_TEMPLATE/issue.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | **/lib 3 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true 3 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/README.md -------------------------------------------------------------------------------- /binder/postBuild: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/binder/postBuild -------------------------------------------------------------------------------- /binder/requirements.txt: -------------------------------------------------------------------------------- 1 | jupyterlab>=1.0 2 | -------------------------------------------------------------------------------- /notebooks/demo.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/notebooks/demo.ipynb -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/package.json -------------------------------------------------------------------------------- /schema/plugin.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/schema/plugin.json -------------------------------------------------------------------------------- /src/extension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/extension.ts -------------------------------------------------------------------------------- /src/generators/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/index.ts -------------------------------------------------------------------------------- /src/generators/latex/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/latex/index.ts -------------------------------------------------------------------------------- /src/generators/markdown/get_headings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/markdown/get_headings.ts -------------------------------------------------------------------------------- /src/generators/markdown/get_rendered_headings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/markdown/get_rendered_headings.ts -------------------------------------------------------------------------------- /src/generators/markdown/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/markdown/index.ts -------------------------------------------------------------------------------- /src/generators/markdown/options_manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/markdown/options_manager.ts -------------------------------------------------------------------------------- /src/generators/markdown/render.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/markdown/render.tsx -------------------------------------------------------------------------------- /src/generators/markdown/toolbar_generator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/markdown/toolbar_generator.tsx -------------------------------------------------------------------------------- /src/generators/notebook/append_collapsible_heading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/append_collapsible_heading.ts -------------------------------------------------------------------------------- /src/generators/notebook/append_heading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/append_heading.ts -------------------------------------------------------------------------------- /src/generators/notebook/append_markdown_heading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/append_markdown_heading.ts -------------------------------------------------------------------------------- /src/generators/notebook/codemirror.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/codemirror.tsx -------------------------------------------------------------------------------- /src/generators/notebook/get_code_cell_heading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/get_code_cell_heading.ts -------------------------------------------------------------------------------- /src/generators/notebook/get_last_heading_level.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/get_last_heading_level.ts -------------------------------------------------------------------------------- /src/generators/notebook/get_markdown_heading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/get_markdown_heading.ts -------------------------------------------------------------------------------- /src/generators/notebook/get_rendered_html_heading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/get_rendered_html_heading.ts -------------------------------------------------------------------------------- /src/generators/notebook/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/index.ts -------------------------------------------------------------------------------- /src/generators/notebook/is_heading_filtered.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/is_heading_filtered.ts -------------------------------------------------------------------------------- /src/generators/notebook/options_manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/options_manager.ts -------------------------------------------------------------------------------- /src/generators/notebook/render.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/render.tsx -------------------------------------------------------------------------------- /src/generators/notebook/set_collapsed_state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/set_collapsed_state.ts -------------------------------------------------------------------------------- /src/generators/notebook/tagstool/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/tagstool/index.tsx -------------------------------------------------------------------------------- /src/generators/notebook/tagstool/tag.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/tagstool/tag.tsx -------------------------------------------------------------------------------- /src/generators/notebook/tagstool/tag_list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/tagstool/tag_list.tsx -------------------------------------------------------------------------------- /src/generators/notebook/toolbar_generator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/toolbar_generator.tsx -------------------------------------------------------------------------------- /src/generators/notebook/twist_button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/notebook/twist_button.tsx -------------------------------------------------------------------------------- /src/generators/python/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/python/index.ts -------------------------------------------------------------------------------- /src/generators/python/render.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/generators/python/render.tsx -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/registry.ts -------------------------------------------------------------------------------- /src/toc.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/toc.tsx -------------------------------------------------------------------------------- /src/toc_item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/toc_item.tsx -------------------------------------------------------------------------------- /src/toc_tree.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/toc_tree.tsx -------------------------------------------------------------------------------- /src/utils/generate_numbering.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/utils/generate_numbering.ts -------------------------------------------------------------------------------- /src/utils/headings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/utils/headings.ts -------------------------------------------------------------------------------- /src/utils/is_dom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/utils/is_dom.ts -------------------------------------------------------------------------------- /src/utils/is_markdown.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/utils/is_markdown.ts -------------------------------------------------------------------------------- /src/utils/numbering_dictionary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/utils/numbering_dictionary.ts -------------------------------------------------------------------------------- /src/utils/parse_heading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/utils/parse_heading.ts -------------------------------------------------------------------------------- /src/utils/sanitizer_options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/src/utils/sanitizer_options.ts -------------------------------------------------------------------------------- /style/img/autonumbering.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/autonumbering.svg -------------------------------------------------------------------------------- /style/img/autonumbering_darktheme.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/autonumbering_darktheme.svg -------------------------------------------------------------------------------- /style/img/check.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/check.svg -------------------------------------------------------------------------------- /style/img/code.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/code.svg -------------------------------------------------------------------------------- /style/img/code_darktheme.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/code_darktheme.svg -------------------------------------------------------------------------------- /style/img/eyeball_hidden.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/eyeball_hidden.svg -------------------------------------------------------------------------------- /style/img/eyeball_hover.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/eyeball_hover.svg -------------------------------------------------------------------------------- /style/img/eyeball_view.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/eyeball_view.svg -------------------------------------------------------------------------------- /style/img/markdown.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/markdown.svg -------------------------------------------------------------------------------- /style/img/markdown_darktheme.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/markdown_darktheme.svg -------------------------------------------------------------------------------- /style/img/menu_arrow.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/menu_arrow.svg -------------------------------------------------------------------------------- /style/img/numbering.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/numbering.svg -------------------------------------------------------------------------------- /style/img/tag.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/tag.svg -------------------------------------------------------------------------------- /style/img/tag_darktheme.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/tag_darktheme.svg -------------------------------------------------------------------------------- /style/img/toggle_down.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/toggle_down.svg -------------------------------------------------------------------------------- /style/img/toggle_down_darktheme.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/toggle_down_darktheme.svg -------------------------------------------------------------------------------- /style/img/toggle_right.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/toggle_right.svg -------------------------------------------------------------------------------- /style/img/toggle_right_darktheme.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/img/toggle_right_darktheme.svg -------------------------------------------------------------------------------- /style/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/index.css -------------------------------------------------------------------------------- /style/list-dark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/list-dark.svg -------------------------------------------------------------------------------- /style/list-light.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/style/list-light.svg -------------------------------------------------------------------------------- /toc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/toc.gif -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/tslint.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jupyterlab/jupyterlab-toc/HEAD/yarn.lock --------------------------------------------------------------------------------