snarkdown icon indicating copy to clipboard operation
snarkdown copied to clipboard

Strikethrough not working

Open qualityshepherd opened this issue 3 years ago • 3 comments

  1. goto Snarky
  2. attempt to format text with strike through via ~

Results

it renders the ~ as regular text... should be ~strike through~

Failing test...

it('parses strike through', () => {
  expect(snarkdown('I like ~HUGE~ tiny libraries')).to.equal('I like <s>HUGE</s> tiny libraries');
});

qualityshepherd avatar Jul 17 '21 16:07 qualityshepherd

Strikethrough requires ~~ typically, which is what this library supports.

jacobmischka avatar Jul 26 '21 18:07 jacobmischka

Strikethrough requires ~~ typically, which is what this library supports.

Fact... and that's also not working...

qualityshepherd avatar Jul 26 '21 18:07 qualityshepherd

Oh I think that web app is outdated? The test I added referenced above worked for me right away.

jacobmischka avatar Jul 26 '21 18:07 jacobmischka