akiomik / akiomik/mado

Support for MD053: Link and image reference definitions should be needed

Đang mở
#318 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Rust
Star
409
Fork
12
Merge trung bình
5 giờ 45 phút
Pull request đã merge (30 ngày)
30

Mô tả

Hi,

I'm trying to lint my markdown file and catch a common mistake: I make a typo in the reference e.g.:

```markdown

This is [a link].

[a Iink]: http:/...
```

Currently `mado` doesn't see an issue with it `mado check` but other tools flag it (e.g. `npx markdownlint-cli2`) as [`error MD053/link-image-reference-definitions Link and image reference definitions should be needed Unused link or image reference definition:...`](https://github.com/DavidAnson/markdownlint/blob/main/doc/md053.md)

Of course I'd prefer to stay with mado as I'm really enjoying the experience 😊

Thank you and have a nice day! 👋

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start with the mado check entry point and reproduce the example using the unused reference definition. Compare the reported behavior with the MD053 description linked in the issue. Done means mado check reports the unused link or image reference definition while preserving normal reference usage.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
markdown, rust
Lĩnh vực
tooling
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
68/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.