api documentation for markdown-it (v8.3.1)

Markdown-it - modern pluggable markdown parser.

table of contents

  1. module markdown-it
    1. function markdown-it (presetName, options)
    2. function markdown-it.parser_block ()
    3. function markdown-it.parser_core ()
    4. function markdown-it.parser_inline ()
    5. function markdown-it.renderer ()
    6. function markdown-it.ruler ()
    7. function markdown-it.state_block (src, md, env, tokens)
    8. function markdown-it.state_core (src, md, env)
    9. function markdown-it.state_inline (src, md, env, outTokens)
    10. function markdown-it.token (type, tag, nesting)
    11. object markdown-it.emphasis
    12. object markdown-it.parser_block.prototype
    13. object markdown-it.parser_core.prototype
    14. object markdown-it.parser_inline.prototype
    15. object markdown-it.renderer.prototype
    16. object markdown-it.ruler.prototype
    17. object markdown-it.state_block.prototype
    18. object markdown-it.state_core.prototype
    19. object markdown-it.state_inline.prototype
    20. object markdown-it.strikethrough
    21. object markdown-it.token.prototype
    22. object markdown-it.utils
  2. module markdown-it.emphasis
    1. function markdown-it.emphasis.postProcess (state)
    2. function markdown-it.emphasis.tokenize (state, silent)
  3. module markdown-it.parser_block
    1. function markdown-it.parser_block ()
  4. module markdown-it.parser_block.prototype
    1. function markdown-it.parser_block.prototype.State (src, md, env, tokens)
    2. function markdown-it.parser_block.prototype.parse (src, md, env, outTokens)
    3. function markdown-it.parser_block.prototype.tokenize (state, startLine, endLine)
  5. module markdown-it.parser_core
    1. function markdown-it.parser_core ()
  6. module markdown-it.parser_core.prototype
    1. function markdown-it.parser_core.prototype.State (src, md, env)
    2. function markdown-it.parser_core.prototype.process (state)
  7. module markdown-it.parser_inline
    1. function markdown-it.parser_inline ()
  8. module markdown-it.parser_inline.prototype
    1. function markdown-it.parser_inline.prototype.State (src, md, env, outTokens)
    2. function markdown-it.parser_inline.prototype.parse (str, md, env, outTokens)
    3. function markdown-it.parser_inline.prototype.skipToken (state)
    4. function markdown-it.parser_inline.prototype.tokenize (state)
  9. module markdown-it.renderer
    1. function markdown-it.renderer ()
  10. module markdown-it.renderer.prototype
    1. function markdown-it.renderer.prototype.render (tokens, options, env)
    2. function markdown-it.renderer.prototype.renderAttrs (token)
    3. function markdown-it.renderer.prototype.renderInline (tokens, options, env)
    4. function markdown-it.renderer.prototype.renderInlineAsText (tokens, options, env)
    5. function markdown-it.renderer.prototype.renderToken (tokens, idx, options)
  11. module markdown-it.ruler
    1. function markdown-it.ruler ()
  12. module markdown-it.ruler.prototype
    1. function markdown-it.ruler.prototype.__compile__ ()
    2. function markdown-it.ruler.prototype.__find__ (name)
    3. function markdown-it.ruler.prototype.after (afterName, ruleName, fn, options)
    4. function markdown-it.ruler.prototype.at (name, fn, options)
    5. function markdown-it.ruler.prototype.before (beforeName, ruleName, fn, options)
    6. function markdown-it.ruler.prototype.disable (list, ignoreInvalid)
    7. function markdown-it.ruler.prototype.enable (list, ignoreInvalid)
    8. function markdown-it.ruler.prototype.enableOnly (list, ignoreInvalid)
    9. function markdown-it.ruler.prototype.getRules (chainName)
    10. function markdown-it.ruler.prototype.push (ruleName, fn, options)
  13. module markdown-it.state_block
    1. function markdown-it.state_block (src, md, env, tokens)
  14. module markdown-it.state_block.prototype
    1. function markdown-it.state_block.prototype.Token (type, tag, nesting)
    2. function markdown-it.state_block.prototype.getLines (begin, end, indent, keepLastLF)
    3. function markdown-it.state_block.prototype.isEmpty (line)
    4. function markdown-it.state_block.prototype.push (type, tag, nesting)
    5. function markdown-it.state_block.prototype.skipChars (pos, code)
    6. function markdown-it.state_block.prototype.skipCharsBack (pos, code, min)
    7. function markdown-it.state_block.prototype.skipEmptyLines (from)
    8. function markdown-it.state_block.prototype.skipSpaces (pos)
    9. function markdown-it.state_block.prototype.skipSpacesBack (pos, min)
  15. module markdown-it.state_core
    1. function markdown-it.state_core (src, md, env)
  16. module markdown-it.state_core.prototype
    1. function markdown-it.state_core.prototype.Token (type, tag, nesting)
  17. module markdown-it.state_inline
    1. function markdown-it.state_inline (src, md, env, outTokens)
  18. module markdown-it.state_inline.prototype
    1. function markdown-it.state_inline.prototype.Token (type, tag, nesting)
    2. function markdown-it.state_inline.prototype.push (type, tag, nesting)
    3. function markdown-it.state_inline.prototype.pushPending ()
    4. function markdown-it.state_inline.prototype.scanDelims (start, canSplitWord)
  19. module markdown-it.strikethrough
    1. function markdown-it.strikethrough.postProcess (state)
    2. function markdown-it.strikethrough.tokenize (state, silent)
  20. module markdown-it.token
    1. function markdown-it.token (type, tag, nesting)
  21. module markdown-it.token.prototype
    1. function markdown-it.token.prototype.attrGet (name)
    2. function markdown-it.token.prototype.attrIndex (name)
    3. function markdown-it.token.prototype.attrJoin (name, value)
    4. function markdown-it.token.prototype.attrPush (attrData)
    5. function markdown-it.token.prototype.attrSet (name, value)
  22. module markdown-it.utils
    1. function markdown-it.utils.arrayReplaceAt (src, pos, newElements)
    2. function markdown-it.utils.assign (obj)
    3. function markdown-it.utils.escapeHtml (str)
    4. function markdown-it.utils.escapeRE (str)
    5. function markdown-it.utils.fromCodePoint (c)
    6. function markdown-it.utils.has (object, key)
    7. function markdown-it.utils.isMdAsciiPunct (ch)
    8. function markdown-it.utils.isPunctChar (ch)
    9. function markdown-it.utils.isSpace (code)
    10. function markdown-it.utils.isString (obj)
    11. function markdown-it.utils.isValidEntityCode (c)
    12. function markdown-it.utils.isWhiteSpace (code)
    13. function markdown-it.utils.normalizeReference (str)
    14. function markdown-it.utils.unescapeAll (str)
    15. function markdown-it.utils.unescapeMd (str)
    16. object markdown-it.utils.lib

module markdown-it

function markdown-it (presetName, options)

function markdown-it.parser_block ()

function markdown-it.parser_core ()

function markdown-it.parser_inline ()

function markdown-it.renderer ()

function markdown-it.ruler ()

function markdown-it.state_block (src, md, env, tokens)

function markdown-it.state_core (src, md, env)

function markdown-it.state_inline (src, md, env, outTokens)

function markdown-it.token (type, tag, nesting)

module markdown-it.emphasis

function markdown-it.emphasis.postProcess (state)

function markdown-it.emphasis.tokenize (state, silent)

module markdown-it.parser_block

function markdown-it.parser_block ()

module markdown-it.parser_block.prototype

function markdown-it.parser_block.prototype.State (src, md, env, tokens)

function markdown-it.parser_block.prototype.parse (src, md, env, outTokens)

function markdown-it.parser_block.prototype.tokenize (state, startLine, endLine)

module markdown-it.parser_core

function markdown-it.parser_core ()

module markdown-it.parser_core.prototype

function markdown-it.parser_core.prototype.State (src, md, env)

function markdown-it.parser_core.prototype.process (state)

module markdown-it.parser_inline

function markdown-it.parser_inline ()

module markdown-it.parser_inline.prototype

function markdown-it.parser_inline.prototype.State (src, md, env, outTokens)

function markdown-it.parser_inline.prototype.parse (str, md, env, outTokens)

function markdown-it.parser_inline.prototype.skipToken (state)

function markdown-it.parser_inline.prototype.tokenize (state)

module markdown-it.renderer

function markdown-it.renderer ()

module markdown-it.renderer.prototype

function markdown-it.renderer.prototype.render (tokens, options, env)

function markdown-it.renderer.prototype.renderAttrs (token)

function markdown-it.renderer.prototype.renderInline (tokens, options, env)

function markdown-it.renderer.prototype.renderInlineAsText (tokens, options, env)

function markdown-it.renderer.prototype.renderToken (tokens, idx, options)

module markdown-it.ruler

function markdown-it.ruler ()

module markdown-it.ruler.prototype

function markdown-it.ruler.prototype.__compile__ ()

function markdown-it.ruler.prototype.__find__ (name)

function markdown-it.ruler.prototype.after (afterName, ruleName, fn, options)

function markdown-it.ruler.prototype.at (name, fn, options)

function markdown-it.ruler.prototype.before (beforeName, ruleName, fn, options)

function markdown-it.ruler.prototype.disable (list, ignoreInvalid)

function markdown-it.ruler.prototype.enable (list, ignoreInvalid)

function markdown-it.ruler.prototype.enableOnly (list, ignoreInvalid)

function markdown-it.ruler.prototype.getRules (chainName)

function markdown-it.ruler.prototype.push (ruleName, fn, options)

module markdown-it.state_block

function markdown-it.state_block (src, md, env, tokens)

module markdown-it.state_block.prototype

function markdown-it.state_block.prototype.Token (type, tag, nesting)

function markdown-it.state_block.prototype.getLines (begin, end, indent, keepLastLF)

function markdown-it.state_block.prototype.isEmpty (line)

function markdown-it.state_block.prototype.push (type, tag, nesting)

function markdown-it.state_block.prototype.skipChars (pos, code)

function markdown-it.state_block.prototype.skipCharsBack (pos, code, min)

function markdown-it.state_block.prototype.skipEmptyLines (from)

function markdown-it.state_block.prototype.skipSpaces (pos)

function markdown-it.state_block.prototype.skipSpacesBack (pos, min)

module markdown-it.state_core

function markdown-it.state_core (src, md, env)

module markdown-it.state_core.prototype

function markdown-it.state_core.prototype.Token (type, tag, nesting)

module markdown-it.state_inline

function markdown-it.state_inline (src, md, env, outTokens)

module markdown-it.state_inline.prototype

function markdown-it.state_inline.prototype.Token (type, tag, nesting)

function markdown-it.state_inline.prototype.push (type, tag, nesting)

function markdown-it.state_inline.prototype.pushPending ()

function markdown-it.state_inline.prototype.scanDelims (start, canSplitWord)

module markdown-it.strikethrough

function markdown-it.strikethrough.postProcess (state)

function markdown-it.strikethrough.tokenize (state, silent)

module markdown-it.token

function markdown-it.token (type, tag, nesting)

module markdown-it.token.prototype

function markdown-it.token.prototype.attrGet (name)

function markdown-it.token.prototype.attrIndex (name)

function markdown-it.token.prototype.attrJoin (name, value)

function markdown-it.token.prototype.attrPush (attrData)

function markdown-it.token.prototype.attrSet (name, value)

module markdown-it.utils

function markdown-it.utils.arrayReplaceAt (src, pos, newElements)

function markdown-it.utils.assign (obj)

function markdown-it.utils.escapeHtml (str)

function markdown-it.utils.escapeRE (str)

function markdown-it.utils.fromCodePoint (c)

function markdown-it.utils.has (object, key)

function markdown-it.utils.isMdAsciiPunct (ch)

function markdown-it.utils.isPunctChar (ch)

function markdown-it.utils.isSpace (code)

function markdown-it.utils.isString (obj)

function markdown-it.utils.isValidEntityCode (c)

function markdown-it.utils.isWhiteSpace (code)

function markdown-it.utils.normalizeReference (str)

function markdown-it.utils.unescapeAll (str)

function markdown-it.utils.unescapeMd (str)

[ this document was created with utility2 ]