Skip to content

feat: support Markdown strikethrough - #6

Merged
deevus merged 1 commit into
mainfrom
issue-2-markdown-strikethrough
Sep 23, 2026
Merged

deevus merged 1 commit into
mainfrom
issue-2-markdown-strikethrough

Conversation

@deevus

@deevus deevus commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add Markdown formatter support for [s]...[/s] as ~~...~~
  • Add direct formatter coverage for standalone, mixed inline, and nested strikethrough content
  • Update Markdown snapshots and add a portable Zig snapshot checker that supports jj-only and Git workspaces

Fixes #2

Verification

  • mise exec -- zig fmt --check build.zig tools/check_snapshots.zig src/formatters/markdown.zig
  • mise exec -- zlint --deny-warnings build.zig tools/check_snapshots.zig src/formatters/markdown.zig
  • mise exec -- zig test src/root.zig --test-filter strikethrough
  • mise exec -- zig test src/root.zig --test-filter "single lines"
  • mise exec -- zig test src/root.zig
  • mise exec -- zig build
  • mise exec -- zig build test --summary all

Also verified dirty snapshot detection with the Zig checker in this jj workspace.

@deevus
deevus force-pushed the issue-2-markdown-strikethrough branch from 843798d to 1d9c00d Compare September 23, 2026 00:24
@deevus
deevus force-pushed the issue-2-markdown-strikethrough branch from 1d9c00d to fd33b7a Compare September 23, 2026 00:34
@deevus
deevus merged commit f1e5010 into main Sep 23, 2026
8 checks passed
@deevus
deevus deleted the issue-2-markdown-strikethrough branch September 23, 2026 00:40
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.

Markdown formatter does not support strikethrough tag

1 participant