[GH-ISSUE #716] Is prettier redundant if I use markdownlint? #2367

Closed
opened 2026-03-07 20:07:06 +03:00 by kerem · 3 comments
Owner

Originally created by @astier on GitHub (Feb 10, 2023).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/716

Hi. I am using markdownlint and it works great. Does it make sense to use prettier additionally to markdownlint or is it redundant? Are there case which prettier covers which markdownlint doesn't?

I read that some rules might conflict between prettier and markdownlint. Do I have to include to my markdownlint config-file

"extends": "markdownlint/style/prettier.json"

or is the following enough?

"extends": "prettier.json"

Thank you.

Originally created by @astier on GitHub (Feb 10, 2023). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/716 Hi. I am using markdownlint and it works great. Does it make sense to use prettier additionally to markdownlint or is it redundant? Are there case which prettier covers which markdownlint doesn't? I read that some rules might conflict between prettier and markdownlint. Do I have to include to my `markdownlint` config-file ``` "extends": "markdownlint/style/prettier.json" ``` or is the following enough? ``` "extends": "prettier.json" ``` Thank you.
kerem 2026-03-07 20:07:06 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@DavidAnson commented on GitHub (Feb 11, 2023):

It's not hard to interoperate with prettier. Here is a bit of documentation to help with that: https://github.com/DavidAnson/markdownlint/blob/main/doc/Prettier.md

I don't have an opinion about whether you should or shouldn't combine the two. It's really about what rules are important to you and whether one or the other of these tools is adequate or whether they each have something to offer you.

<!-- gh-comment-id:1426546211 --> @DavidAnson commented on GitHub (Feb 11, 2023): It's not hard to interoperate with prettier. Here is a bit of documentation to help with that: https://github.com/DavidAnson/markdownlint/blob/main/doc/Prettier.md I don't have an opinion about whether you should or shouldn't combine the two. It's really about what rules are important to you and whether one or the other of these tools is adequate or whether they each have something to offer you.
Author
Owner

@nschonni commented on GitHub (Feb 11, 2023):

Prettier can be helpful in doing formatting work on things like the frontmatter or inside code fences. That's how it's used in conjunction with Markdownlint in mdn/content.

<!-- gh-comment-id:1426616600 --> @nschonni commented on GitHub (Feb 11, 2023): Prettier can be helpful in doing formatting work on things like the frontmatter or inside code fences. That's how it's used in conjunction with Markdownlint in mdn/content.
Author
Owner

@astier commented on GitHub (Feb 11, 2023):

Thanks.

<!-- gh-comment-id:1426635485 --> @astier commented on GitHub (Feb 11, 2023): Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#2367
No description provided.