Module: MarkdownIt

Defined in:
lib/motion-markdown-it/index.rb,
lib/motion-markdown-it/ruler.rb,
lib/motion-markdown-it/token.rb,
lib/motion-markdown-it/renderer.rb,
lib/motion-markdown-it/parser_core.rb,
lib/motion-markdown-it/common/utils.rb,
lib/motion-markdown-it/parser_block.rb,
lib/motion-markdown-it/presets/zero.rb,
lib/motion-markdown-it/parser_inline.rb,
lib/motion-markdown-it/common/html_re.rb,
lib/motion-markdown-it/rules_block/hr.rb,
lib/motion-markdown-it/common/entities.rb,
lib/motion-markdown-it/presets/default.rb,
lib/motion-markdown-it/rules_block/code.rb,
lib/motion-markdown-it/rules_block/list.rb,
lib/motion-markdown-it/rules_core/block.rb,
lib/motion-markdown-it/rules_block/fence.rb,
lib/motion-markdown-it/rules_block/table.rb,
lib/motion-markdown-it/rules_core/inline.rb,
lib/motion-markdown-it/rules_inline/link.rb,
lib/motion-markdown-it/rules_inline/text.rb,
lib/motion-markdown-it/common/html_blocks.rb,
lib/motion-markdown-it/presets/commonmark.rb,
lib/motion-markdown-it/rules_core/linkify.rb,
lib/motion-markdown-it/rules_inline/image.rb,
lib/motion-markdown-it/rules_block/heading.rb,
lib/motion-markdown-it/rules_inline/entity.rb,
lib/motion-markdown-it/rules_inline/escape.rb,
lib/motion-markdown-it/rules_block/lheading.rb,
lib/motion-markdown-it/rules_core/normalize.rb,
lib/motion-markdown-it/rules_inline/newline.rb,
lib/motion-markdown-it/rules_block/paragraph.rb,
lib/motion-markdown-it/rules_block/reference.rb,
lib/motion-markdown-it/rules_core/state_core.rb,
lib/motion-markdown-it/rules_inline/autolink.rb,
lib/motion-markdown-it/rules_inline/emphasis.rb,
lib/motion-markdown-it/helpers/helper_wrapper.rb,
lib/motion-markdown-it/rules_block/blockquote.rb,
lib/motion-markdown-it/rules_block/html_block.rb,
lib/motion-markdown-it/rules_core/smartquotes.rb,
lib/motion-markdown-it/rules_inline/backticks.rb,
lib/motion-markdown-it/rules_block/state_block.rb,
lib/motion-markdown-it/rules_core/replacements.rb,
lib/motion-markdown-it/helpers/parse_link_label.rb,
lib/motion-markdown-it/helpers/parse_link_title.rb,
lib/motion-markdown-it/rules_inline/html_inline.rb,
lib/motion-markdown-it/rules_inline/state_inline.rb,
lib/motion-markdown-it/rules_inline/balance_pairs.rb,
lib/motion-markdown-it/rules_inline/strikethrough.rb,
lib/motion-markdown-it/rules_inline/text_collapse.rb,
lib/motion-markdown-it/helpers/parse_link_destination.rb

Overview

Parse link destination


Defined Under Namespace

Modules: Common, Helpers, Presets, RulesBlock, RulesCore, RulesInline Classes: HTMLEntities, Parser, ParserBlock, ParserCore, ParserInline, Renderer, Ruler, Token

Constant Summary collapse

HTML_BLOCKS =
[
  'address',
  'article',
  'aside',
  'base',
  'basefont',
  'blockquote',
  'body',
  'caption',
  'center',
  'col',
  'colgroup',
  'dd',
  'details',
  'dialog',
  'dir',
  'div',
  'dl',
  'dt',
  'fieldset',
  'figcaption',
  'figure',
  'footer',
  'form',
  'frame',
  'frameset',
  'h1',
  'h2',
  'h3',
  'h4',
  'h5',
  'h6',
  'head',
  'header',
  'hr',
  'html',
  'iframe',
  'legend',
  'li',
  'link',
  'main',
  'menu',
  'menuitem',
  'meta',
  'nav',
  'noframes',
  'ol',
  'optgroup',
  'option',
  'p',
  'param',
  'section',
  'source',
  'summary',
  'table',
  'tbody',
  'td',
  'tfoot',
  'th',
  'thead',
  'title',
  'tr',
  'track',
  'ul'
].freeze