Browse Source

del -> strikethrough

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
92d9fde585
  1. 2
      lib/parser_inline.js
  2. 4
      lib/rules_inline/strikethrough.js

2
lib/parser_inline.js

@ -17,7 +17,7 @@ rules.push(require('./rules_inline/text'));
rules.push(require('./rules_inline/newline')); rules.push(require('./rules_inline/newline'));
rules.push(require('./rules_inline/escape')); rules.push(require('./rules_inline/escape'));
rules.push(require('./rules_inline/backticks')); rules.push(require('./rules_inline/backticks'));
rules.push(require('./rules_inline/del')); rules.push(require('./rules_inline/strikethrough'));
rules.push(require('./rules_inline/emphasis')); rules.push(require('./rules_inline/emphasis'));
rules.push(require('./rules_inline/links')); rules.push(require('./rules_inline/links'));
rules.push(require('./rules_inline/autolink')); rules.push(require('./rules_inline/autolink'));

4
lib/rules_inline/del.js → lib/rules_inline/strikethrough.js

@ -1,8 +1,8 @@
// Process ~~strikeout~~ // Process ~~strike through~~
'use strict'; 'use strict';
module.exports = function del(state) { module.exports = function strikethrough(state) {
var oldLength, var oldLength,
oldPending, oldPending,
oldFlag, oldFlag,
Loading…
Cancel
Save