Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Outline - Optionally treat and show # as H1, ## as H2 #5261

Open
Labels
Issue-EnhancementA feature request (enhancement).
@o-l-a-v

Description

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.

Summary

I've written so much markdown that I format my PowerShell scripts and comments by markdown headings.

# First section
## I do something
do-something
## Then I do something else
do-somethingelse
# Second section
do-somethingwithoutputfromfirstsection

It'd be very useful with the ability to show these comments as sections in the outline pane, treat them as markdown headings.

  • # as H1 / level 1
  • ## as H2 / level 2
  • ### as H3 / level 3

Etc.

I know I can use #region, but I don't like how it looks.

Proposed Design

Maybe a farfetched idea? Not something that should be enabled by default.

{
 "powershell.treatCommentsAsMarkdownHeadings": true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-EnhancementA feature request (enhancement).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /