Blame view

node_modules/markdown-it/lib/rules_core/inline.js 308 Bytes
290144e9   易尊强   第一次
1
2
3
4
5
6
7
8
9
10
11
12
13
  'use strict';
  
  module.exports = function inline(state) {
    var tokens = state.tokens, tok, i, l;
  
    // Parse inlines
    for (i = 0, l = tokens.length; i < l; i++) {
      tok = tokens[i];
      if (tok.type === 'inline') {
        state.md.inline.parse(tok.content, state.md, state.env, tok.children);
      }
    }
  };