8 lines
129 B
JavaScript
8 lines
129 B
JavaScript
'use strict';
|
|
|
|
module.exports = strikethrough;
|
|
|
|
function strikethrough(node) {
|
|
return '~~' + this.all(node).join('') + '~~';
|
|
}
|