markdownSyntaxShortcutEvents top-level property

List<CharacterShortcutEvent> markdownSyntaxShortcutEvents
final

Implementation

final List<CharacterShortcutEvent> markdownSyntaxShortcutEvents = [
  // format code, `code`
  formatBackquoteToCode,

  // format italic,
  // _italic_
  // *italic*
  formatUnderscoreToItalic,
  formatAsteriskToItalic,

  // format strikethrough,
  // ~strikethrough~
  // ~~strikethrough~~
  formatTildeToStrikethrough,
  formatDoubleTilesToStrikethrough,

  // format bold, **bold** or __bold__
  formatDoubleAsterisksToBold,
  formatDoubleUnderscoresToBold,

  // format -- into em dash
  formatDoubleHyphenEmDash,

  // format [*](*) to link
  formatMarkdownLinkToLink,
];