Browse Source

Renamed back `strikethrough` to `del`

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
f15fa5ed23
  1. 2
      README.md
  2. 2
      lib/parser_inline.js
  3. 2
      lib/rules_inline/del.js
  4. 0
      test/fixtures/remarkable/del.txt

2
README.md

@ -134,8 +134,8 @@ more advanced, specific for your language.
These extensions are enabled by default:
- [Strikethrough](https://help.github.com/articles/github-flavored-markdown/#strikethrough)
- [Tables](https://help.github.com/articles/github-flavored-markdown/#tables) (GFM)
- [\<del>](https://help.github.com/articles/github-flavored-markdown/#strikethrough) (GFM strikethrough) - `~~text~~`
## References / Thanks

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/escape'));
rules.push(require('./rules_inline/backticks'));
rules.push(require('./rules_inline/strikethrough'));
rules.push(require('./rules_inline/del'));
rules.push(require('./rules_inline/emphasis'));
rules.push(require('./rules_inline/links'));
rules.push(require('./rules_inline/autolink'));

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

@ -2,7 +2,7 @@
'use strict';
module.exports = function strikethrough(state, silent) {
module.exports = function del(state, silent) {
var found,
pos,
max = state.posMax,

0
test/fixtures/remarkable/strikeout.txt → test/fixtures/remarkable/del.txt

Loading…
Cancel
Save