Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Ignore comments not respected. #123

Open
marvinhagemeister opened this issue Sep 1, 2024 · 0 comments
Open

Bug: Ignore comments not respected. #123

marvinhagemeister opened this issue Sep 1, 2024 · 0 comments

Comments

@marvinhagemeister
Copy link

Describe the bug

The formatting ignore comments don't seem to work inside markdown

dprint-plugin-markdown version: x.x.x
deno 2.0.0-rc.0+42cf762

Input Code

<!-- dprint-ignore-start -->
```md
# Heading 1
## Heading 2

Heading 1
=======

Heading 2
------------
```
<!-- dprint-ignore-end -->

Expected Output

<!-- dprint-ignore-start -->
```md
# Heading 1
## Heading 2

Heading 1
=======

Heading 2
------------
```
<!-- dprint-ignore-end -->

Actual Output

<!-- dprint-ignore-start -->
```md
# Heading 1
## Heading 2

# Heading 1

## Heading 2
```
<!-- dprint-ignore-end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant