2020-05-19 11:43:42 +03:00

12 lines
172 B
JavaScript

'use strict'
module.exports = strikethrough
var tilde = '~'
var fence = tilde + tilde
function strikethrough(node) {
return fence + this.all(node).join('') + fence
}