Skip to content

fix: mark struck text with tildes - #110

Merged
hownowstephen merged 2 commits into
mainfrom
fix_strikethrough_text
Oct 12, 2026
Merged

hownowstephen merged 2 commits into
mainfrom
fix_strikethrough_text

Conversation

@hownowstephen

Copy link
Copy Markdown
Contributor

Text in <del>, <s> and <strike> read the same as live text, so a sale price such as <s>$20</s> $15 came out as Was $20 now $15. It is now wrapped in ~~, which is GFM strikethrough in Markdown and still reads as struck in plain text: Was ~~$20~~ now $15. The Markdown tests now render with goldmark's strikethrough extension too.

@hownowstephen
hownowstephen marked this pull request as ready for review October 12, 2026 03:00
@hownowstephen
hownowstephen merged commit f25e1c1 into main Oct 12, 2026
5 checks passed
@hownowstephen
hownowstephen deleted the fix_strikethrough_text branch October 12, 2026 03:01
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.

1 participant