Skip to content

Hash sign stripped in markdown titles #6177

@mderazon

Description

@mderazon

Prettier 1.17.1
Playground link

--parser markdown

Input:

# Programming languages

## C#

## Javascript

Output:

# Programming languages

## C

## Javascript

Markdown parser strips the hash sign (#) when it comes in a title.

Metadata

Metadata

Assignees

Labels

lang:markdownIssues affecting Markdownlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependency

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions