Skip to content

Console errors for md files with invalid typescript blocks gives no feedback for which block failed #222

@rebasecase

Description

@rebasecase

Minimal example:

test.md

```typescript
-
```

prettier ./test.md

README.md [error] [prettier-plugin-sort-imports]: import sorting aborted due to babel parsing error.
```typescript
-
```

I'm not sure what to do in this instance? Is it possible to get debug info here to say where/which code block it thinks I messed up?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions