We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6dc55c commit afe2425Copy full SHA for afe2425
test/index.js
@@ -3,6 +3,10 @@ import snarkdown from '../src';
3
4
describe('snarkdown()', () => {
5
describe('text formatting', () => {
6
+ it('parses strikethrough with ~~', () => {
7
+ expect(snarkdown('I ~~like~~ tiny libraries')).to.equal('I <s>like</s> tiny libraries');
8
+ });
9
+
10
it('parses bold with **', () => {
11
expect(snarkdown('I **like** tiny libraries')).to.equal('I <strong>like</strong> tiny libraries');
12
});
0 commit comments