microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.38k stars 28.94k forks source link

Add functionality to control ordinal type for headers within nb outline view #199969

Open Saunak626 opened 10 months ago

Saunak626 commented 10 months ago

Below is a screenshot of what I mean. I'd like it to show only the headers of the notebook, not each and every single markdown block. Is there a similar way to changing this, like in JupyterLab, where you can toggle different outline options? image

Numbering Enumerate headers of the jupyther notebook

image
  1. Only markdown with headers is generated into the outline
  2. Ability to customize the ordinal type and automatically sort the generation in multi-level headers.

For example, the markdown header generation plugin Number Headings in obsidian

image image

Thank you!

amunger commented 10 months ago

The request to only have headers is covered by https://github.com/microsoft/vscode/issues/200060

Yoyokrazy commented 6 months ago

Adding a note from a duplicate issue regarding the ability to remove the icon from outline entries in order to reduce visual noise (specifically the markdown icon, but could in theory be applied to the rest via altering the renderTemplate)