Skip to content

Document @hackmd/markdown-it 14.1.2 and add linkify pos/size tests - #21

Closed
Yukaii wants to merge 1 commit into
masterfrom
cursor/changelog-and-linkify-tests-895b
Closed

Yukaii wants to merge 1 commit into
masterfrom
cursor/changelog-and-linkify-tests-895b

Conversation

@Yukaii

@Yukaii Yukaii commented Sep 15, 2026

Copy link
Copy Markdown
Member

Resolves DEV-3152.

@hackmd/markdown-it@14.1.2 is already published on npm (gitHead 1ecb0cd). This follow-up records the HackMD 14.1.1/14.1.2 fixes in the changelog and adds regression tests for the linkify text-token position/size fix from #20.

Without those fields, autolink tokens default to pos = 0 / size = 0, so highlights in the same block attach to the link instead of the URL.

Changes

  • Changelog entries for 14.1.1 and 14.1.2
  • Annotation tests covering a single autolink and two autolinks in one block

Note

The package itself does not need another version bump. Product apps can depend on @hackmd/markdown-it@14.1.2.

Linear Issue: DEV-3152

Open in Web Open in Cursor 

@hackmd/markdown-it@14.1.2 is already published. Document the HackMD
14.1.1/14.1.2 fixes and add regression coverage for linkify text-token
position/size so autolink highlights keep mapping to the URL.

Co-authored-by: Yukai Huang <hi@yukai.dev>
@Yukaii
Yukaii marked this pull request as ready for review September 15, 2026 20:42
@Yukaii Yukaii closed this Sep 15, 2026
@Yukaii
Yukaii deleted the cursor/changelog-and-linkify-tests-895b branch September 15, 2026 20:44
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

Successfully merging this pull request may close these issues.

2 participants