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

Two tildes for strikethrough (as per specs) #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

q00u
Copy link

@q00u q00u commented Oct 21, 2020

Follow GFM specs for strikethrough

Strikethrough text is any text wrapped in two tildes (~).

Source: https://github.github.com/gfm/#strikethrough-extension-

The wording might be confusing, but it's actually two tildes on each side, as seen in the example given:

~~Hi~~ Hello, world!

Having only one tilde on each side breaks markdown on things that follow the spec more strictly.

Fixes #12

Follow GFM specs for strikethrough

>Strikethrough text is any text wrapped in **two** tildes (~).

Source: https://github.github.com/gfm/#strikethrough-extension-

The wording might be confusing, but it's actually two tildes on each side, as seen in the example given:

`~~Hi~~ Hello, world!`

Having only one tilde on each side breaks markdown on things that follow the spec more strictly.
@HHN0609
Copy link

HHN0609 commented Nov 17, 2023

This is helpful.

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.

Number of tildes for strikethourough should be two
2 participants