remarkjs / strip-markdown

plugin remove markdown formatting
http://remarkjs.github.io/strip-markdown
MIT License
136 stars 23 forks source link

Strikethrough not handled properly #34

Closed MichalPaszowski closed 2 hours ago

MichalPaszowski commented 3 hours ago

Initial checklist

Affected packages and versions

"strip-markdown": "^6.0.0", "remark": "^14.0.3",

Link to runnable example

No response

Steps to reproduce

Parsing ~~test~~ results in: \~~test~~

Expected behavior

Parsing ~~test~~ should result in: test

Actual behavior

Parsing ~~test~~ results in: \~~test~~

Affected runtime and version

chrome 129.0.6668.90

Affected package manager and version

No response

Affected OS and version

No response

Build and bundle tools

No response

wooorm commented 2 hours ago

Strikethrough is not a markdown (commonmark) feature, so it is not available by default. You are looking for remark-gfm, as it is a GFM feature

github-actions[bot] commented 2 hours ago

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.