strikethroughItem method

Parser<InlineNode> strikethroughItem()
inherited

Implementation

Parser<InlineNode> strikethroughItem() => seq2(
  string('~~').not(),
  [
    ref0(codeSpan),
    ref0(strong),
    ref0(emphasis),
    ref0(escapedCharNode),
    ref0(strikethroughTextRun),
    ref0(singleSpecialChar),
  ].toChoiceParser(),
).map2((_, node) => node);