Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strikethrough using tilde not working #23

Closed
vwkd opened this issue Dec 23, 2022 · 1 comment · Fixed by #25
Closed

Strikethrough using tilde not working #23

vwkd opened this issue Dec 23, 2022 · 1 comment · Fixed by #25

Comments

@vwkd
Copy link

vwkd commented Dec 23, 2022

Strikethrough using single tilde ~ or double tilde ~~ don't work.

Example

import { render } from "https://deno.land/x/gfm/mod.ts";

console.log(render("hello ~world~"));
console.log(render("hello ~~world~~"));

Expected Output

<p>hello <del>world</del></p>

Actual Output

<p>hello world</p>

Notes

marked.js gives the correct output.

https://marked.js.org/demo/?outputType=html&text=hello%20~world~%0A%0Ahello%20~~world~~&version=4.0.12

@LeoDog896
Copy link
Contributor

LeoDog896 commented Dec 29, 2022

Should be fixed in #25 once merged

@crowlKats crowlKats linked a pull request Jan 4, 2023 that will close this issue
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 a pull request may close this issue.

3 participants