Skip to content

Native Notebooks - Outline (aka Table of Contents or TOC) should only show headers, not plain text #147007

Closed

Description

To better mimic Jupyter experience, Outline should not show all markdown+textcells, but only the markdown+headers cells that uses # ## or ###

Activity

  1. added
    under-discussion
    on Apr 7, 2022
  2. marvinvanaalst commented on Jun 9, 2022

    @marvinvanaalst

    I would also like it a lot if that was made available as a setting.

    Here is a screenshot of what exactly I mean. The paragraph in the first cell is not displayed in the outline, but the paragraph in the otherwise empty cell is.

    notebook-markdown-headings

    There is a related stack overflow question, the author would probably also like to know when this gets implemented. I will put a link there to this issue.

  3. tburnett commented on Sep 1, 2022

    @tburnett

    The TOC in Jupyter is also sensitive to headers in cell output. I have code that generates markdown to be rendered by IPython.display. Could you mimic this please?

  4. AlbertoFabbri93 commented on Oct 1, 2022

    @AlbertoFabbri93

    Personally, I think it is very confusing to show markdown cells that are not headers in the outline.
    I would like to have a setting to hide them.

  5. emilyhunt commented on Oct 18, 2022

    @emilyhunt

    Personally, I think it is very confusing to show markdown cells that are not headers in the outline. I would like to have a setting to hide them.

    Agreed, this has been a real frustration for me working with Jupyter notebooks in VSCode. Notebooks with lots of markdown notes have a very messy outline, which makes them much harder to navigate than in native Jupyter editors like JupyterLab.

    Would love to see this added as a setting!

  6. sergani commented on Oct 25, 2022

    @sergani

    I would love to see this implemented too. It's really annoying that all markdown text cells show in the outline, and it makes navigating the outline really hard.

  7. Jace-Yang commented on Nov 13, 2022

    @Jace-Yang

    Would love to see this added as a setting!

  8. added
    outline
    on Nov 18, 2022
  9. 2 remaining items

  10. cachatj commented on Oct 8, 2023

    @cachatj

    Wonderin If anyone else has put in work here?

  11. Saunak626 commented on Dec 10, 2023

    @Saunak626

    Please vote for the issue to modify the Table of Contents or TOC, it needs to reach 20 upvotes.
    #174104

  12. added
    unreleased
    on Mar 18, 2024
  13. Yoyokrazy commented on Mar 18, 2024

    @Yoyokrazy
    Collaborator

    Closing as completed via #207771

    image

    The outline view will have a filter icon allowing for easy configuration of the entries you would like to see. There are also the following settings:

    • "notebook.outline.showCodeCells": boolean
    • "notebook.outline.showNonHeaderMarkdownCells": boolean
  14. removed
    unreleased
    on Mar 19, 2024
  15. vscodenpa commented on Mar 19, 2024

    @vscodenpa

    Issue marked as unreleased but unable to locate closing commit in issue timeline. You can manually reference a commit by commenting \closedWith someCommitSha, or directly add the insiders-released label if you know this has already been releaased

  16. added
    unreleased
    and removed
    unreleased
    on Mar 19, 2024
  17. added
    insiders-released
    on Mar 19, 2024
  18. locked and limited conversation to collaborators on Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

insiders-releasednotebook-toc-outlineoutlineunder-discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions