Skip to content

Markdown: template string in codeblock is broken #3740

@ikatyang

Description

@ikatyang

Prettier 1.10.2
Playground link

--parser markdown

Input:

- 1
  - 2
    - 3
      ```js
      something`
      asd

      asd

      asd
      `
      ```

Output:

* 1

  * 2

    * 3

      ```js
      something`
asd

asd

asd
`;
      ```

Metadata

Metadata

Assignees

Labels

lang:markdownIssues affecting Markdownlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.priority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions