Commit Graph

43 Commits

Author SHA1 Message Date
theoludwig 450cdb84f0 feat: support columns numbers (and line range) in links fragments
Fixes #7
2024-05-27 22:26:21 +02:00
theoludwig 2df95e97d8 build(deps): update latest 2024-05-27 21:26:05 +02:00
theoludwig bf9403ad84 style: fix prettier v2.3.2 2024-04-06 20:14:59 +02:00
theoludwig 9675c7a275 fix: update markdown-it to v14.1.0
This allows to use the same version as markdownlint v0.34.0.
2024-04-06 20:10:13 +02:00
theoludwig 5af131b840 fix: link fragment with accents should be valid if the heading exists
Fixes a regression introduced in v2.3.0, which needed to lower case/manage case insensitive heading.
v2.3.1
2024-01-31 21:56:55 +01:00
theoludwig f332c833ca feat: support line number checking in link fragment (e.g: '#L50')
Fixes #6
v2.3.0
2024-01-31 01:14:27 +01:00
theoludwig e20ee54b05 fix: should only check valid fragments in markdown (.md) files 2024-01-31 00:10:41 +01:00
theoludwig 5c39afbe20 refactor: simplify logic understanding 2024-01-30 23:57:38 +01:00
theoludwig cc9a1cf6a2 chore: cleaner configs 2024-01-29 21:24:22 +01:00
theoludwig 1095647d41 docs(license): add email address 2024-01-29 21:09:23 +01:00
theoludwig 146f904866 chore: small tweaks v2.2.0 2024-01-12 01:30:52 +01:00
theoludwig 64396954e4 chore: dependency vendoring of markdownlint-rule-helpers 2024-01-12 01:30:52 +01:00
theoludwig 92f35daeaf docs: explain limitations/features 2024-01-12 01:30:52 +01:00
theoludwig 7ef7cc3bb3 refactor: early conditions first 2024-01-12 01:30:52 +01:00
theoludwig 0479652ffe test: add cases for fragments checking 2024-01-12 01:30:52 +01:00
theoludwig 68f35ddc0b fix: empty id fragment should be invalid 2024-01-12 01:30:52 +01:00
theoludwig 747203c23b fix: fragments checking should work in other elements than only anchor (e.g: <div>) 2024-01-12 01:30:52 +01:00
theoludwig a5deae599a fix: ignore checking fragment in own file
We don't need to check if fragments are valid in own file.
It's already checked by the rule MD051 of markdownlint (else we have the error duplicated).
Ref: https://github.com/DavidAnson/markdownlint/blob/main/doc/md051.md
2024-01-12 01:30:52 +01:00
Igor Tsiglyar 24a0788d32 feat: html anchor support 2024-01-12 01:30:52 +01:00
theoludwig 9d2cc818d5 docs: fix broken GitHub Action link 2024-01-10 21:09:11 +01:00
theoludwig 7465ffd8bc test: separate cases, so it's easier to know what fails v2.1.3 2024-01-10 00:01:13 +01:00
theoludwig 1ddcdc7b18 fix: cleaner code + better error messages 2024-01-09 23:20:17 +01:00
theoludwig fcd0340e57 docs: describe the Additional features and the Limitations 2024-01-09 21:58:00 +01:00
theoludwig 7bf3b93822 build(deps): update latest 2024-01-09 21:33:27 +01:00
theoludwig 9c87395d82 fix: update dependencies to latest v2.1.2 2023-12-26 21:11:07 +01:00
theoludwig f99e2bbe4d docs: fix linting v2.1.1 2023-11-23 00:40:34 +01:00
theoludwig e642c7ceee fix: update dependencies to latest 2023-11-23 00:37:15 +01:00
theoludwig 9cf3168e66 chore: better Prettier config for easier reviews 2023-10-23 23:11:41 +02:00
theoludwig b0c27b3c3e build(deps): update latest 2023-07-18 23:18:39 +02:00
theoludwig a33c682974 feat: improve errors message to distinguish between file system and fragment errors v2.1.0 2023-06-27 13:15:03 +02:00
theoludwig 6c4e8cec9c feat: validate relative links fragments
Similar to https://github.com/DavidAnson/markdownlint/blob/main/doc/md051.md

Fixes #2

BREAKING CHANGE: Validate links fragments in relative links
v2.0.0
2023-06-24 11:42:09 +02:00
theoludwig 9e28311791 fix: update author - Théo LUDWIG 2023-06-24 10:11:32 +02:00
theoludwig f80d746c89 build(deps): update latest 2023-06-24 10:00:40 +02:00
theoludwig 2d63a30f48 refactor: usage of node:test instead of tap 2023-06-24 09:58:45 +02:00
Divlo cbc6042bd5 feat: add npm package provenance
Ref: https://github.blog/2023-04-19-introducing-npm-package-provenance/
v1.2.0
2023-05-13 16:05:01 +02:00
Divlo c65607bcc3 build(deps): update latest 2023-05-13 16:03:06 +02:00
Divlo c985af6156 fix: ignore absolute paths /absolute/path v1.1.2 2023-04-02 21:10:47 +02:00
Divlo 77b8988bea build(deps): update latest 2023-04-02 21:03:51 +02:00
Divlo b6b092dc1f fix: only detect file: protocol links
fixes #1
v1.1.1
2023-01-06 18:37:40 +01:00
Divlo 56882727fc docs: fix typo 2023-01-05 22:18:17 +01:00
Divlo 5dab1976d3 feat: validate link in image src v1.1.0 2023-01-02 19:45:46 +01:00
Divlo 4adef29333 feat: add relative-links rule v1.0.0 2023-01-02 15:23:47 +01:00
Divlo 221ded7d62 chore: initial commit 2023-01-02 15:23:16 +01:00