MCPcopy Create free account

hub / github.com/showdownjs/showdown / functions

Functions69 in github.com/showdownjs/showdown

↓ 22 callersFunctionspawnCLI
* Spawns a CLI process synchrously * @param {string|null} command * @param {string[]} args * @param {{}} [options] * @returns {{output: *, stdout:
test/node/testsuite.cli.js:22
↓ 20 callersFunctionassertion
(testCase, converter, type)
test/bootstrap.js:66
↓ 12 callersFunctionparseInside
(txt, left, right)
src/subParsers/italicsAndBold.js:10
↓ 5 callersFunctiongetDefaultOpts
* Created by Tivie on 13-07-2015.
src/options.js:5
↓ 4 callersFunctionhashHTMLSpan
(html)
src/subParsers/hashHTMLSpans.js:8
↓ 4 callersFunctionvalidate
* Validate extension * @param {array} extension * @param {string} name * @returns {{valid: boolean, error: string}}
src/showdown.js:264
↓ 3 callersFunctionheaderId
(m)
src/subParsers/headers.js:58
↓ 3 callersFunctionprocessListItems
* Process the contents of a single ordered or unordered list, splitting it * into individual list items. * @param {string} listStr * @param {
src/subParsers/lists.js:14
↓ 3 callersFunctionreplaceLink
(options)
src/subParsers/autoLinks.js:9
↓ 2 callersFunction_parseExtension
* Parse extension * @param {*} ext * @param {string} [name=''] * @private
src/converter.js:96
↓ 2 callersFunctionfilter
()
test/bootstrap.js:27
↓ 2 callersFunctionlisten
* Listen to an event * @param {string} name * @param {function} callback
src/converter.js:192
↓ 2 callersFunctionparseConsecutiveLists
* Check and parse consecutive lists (better fix for issue #142) * @param {string} list * @param {string} listType * @param {boolean} trimTrai
src/subParsers/lists.js:143
↓ 2 callersFunctionparseMetadataContents
(content)
src/subParsers/metadata.js:13
↓ 2 callersFunctionreplaceMail
(options, globals)
src/subParsers/autoLinks.js:31
↓ 2 callersFunctionrgxFindMatchPos
(str, left, right, flags)
src/helpers.js:158
↓ 2 callersFunctionrunListener
(name)
test/node/testsuite.showdown.Converter.js:180
↓ 2 callersFunctionstyleStartNumber
(list, listType)
src/subParsers/lists.js:125
↓ 1 callersFunction_constructor
* Converter constructor * @private
src/converter.js:64
↓ 1 callersFunctionallOptionsOn
()
src/options.js:187
↓ 1 callersFunctionbuildTable
(headers, cells)
src/subParsers/tables.js:41
↓ 1 callersFunctioncheck
(key, val)
test/node/testsuite.showdown.Converter.js:81
↓ 1 callersFunctionclean
(node)
src/converter.js:392
↓ 1 callersFunctiongenerateMD
(filename, obj, asTable)
test/performance/performance.js:101
↓ 1 callersFunctionlegacyExtensionLoading
* LEGACY_SUPPORT * @param {*} ext * @param {string} name
src/converter.js:160
↓ 1 callersFunctionmap
(dir)
test/bootstrap.js:34
↓ 1 callersFunctionmap2
(dir)
test/bootstrap.js:50
↓ 1 callersFunctionnormalize
(testCase)
test/bootstrap.js:79
↓ 1 callersFunctionparseCells
(cell, style)
src/subParsers/tables.js:36
↓ 1 callersFunctionparseHeaders
(header, style)
src/subParsers/tables.js:24
↓ 1 callersFunctionparseInside
(txt)
src/subParsers/strikethrough.js:4
↓ 1 callersFunctionparseShowdownOptions
* Helper function to parse showdown options * @param {{}} configOptions * @param {{}} defaultOptions * @returns {{}}
src/cli/cli.js:134
↓ 1 callersFunctionparseShowdownOptions
(o,t)
bin/showdown.js:2
↓ 1 callersFunctionparseStyles
(sLine)
src/subParsers/tables.js:12
↓ 1 callersFunctionrTrimInputText
(text)
src/converter.js:207
↓ 1 callersFunctionreadFromFile
* Reads from a file * @param {string} file Filepath to dile * @param {string} encoding Encoding of the file * @returns {Buffer}
src/cli/cli.js:178
↓ 1 callersFunctionreadFromFile
(t,o)
bin/showdown.js:2
↓ 1 callersFunctionreadFromStdIn
* Reads stdin * @returns {string}
src/cli/cli.js:158
↓ 1 callersFunctionreadFromStdIn
(o)
bin/showdown.js:2
↓ 1 callersFunctionshowShowdownOptions
* Helper function to show Showdown Options
src/cli/cli.js:115
↓ 1 callersFunctionshowShowdownOptions
()
bin/showdown.js:2
↓ 1 callersFunctionsubstitutePreCodeTags
(doc)
src/converter.js:412
↓ 1 callersFunctionwriteImageTag
(wholeMatch, altText, linkId, url, width, height, m5, title)
src/subParsers/images.js:20
↓ 1 callersFunctionwriteToFile
* Writes to file * @param {string} html HTML to write * @param {string} file Filepath * @param {boolean} append If the result should be appended
src/cli/cli.js:205
↓ 1 callersFunctionwriteToFile
(o,t,e)
bin/showdown.js:2
↓ 1 callersFunctionwriteToStdOut
* Writes to stdout * @param {string} html * @returns {boolean}
src/cli/cli.js:192
↓ 1 callersFunctionwriteToStdOut
(o)
bin/showdown.js:2
FunctionMessenger
* Messenger helper object to the CLI * @param {string} writeMode * @param {boolean} supress * @param {boolean} mute * @constructor
src/cli/cli.js:73
FunctionMessenger
(o,t,e)
bin/showdown.js:2
Functionbar
()
test/node/testsuite.showdown.helpers.js:78
Functionbaz
()
test/node/testsuite.showdown.helpers.js:110
FunctionescapeCharactersCallback
(wholeMatch, m1)
src/helpers.js:104
FunctionextObjFunc
()
test/node/testsuite.showdown.Converter.js:121
FunctionextObjFunc
()
test/node/testsuite.showdown.js:34
Functionfn
()
test/node/testsuite.showdown.js:79
Functionfoo
()
test/node/testsuite.showdown.helpers.js:73
FunctiongenerateLogs
()
test/node/performance.js:139
FunctiongetHtmlToMdTestSuite
(dir)
test/bootstrap.js:21
FunctiongetTestSuite
(dir)
test/bootstrap.js:15
FunctionmakehtmlCommand
* makehtml command * @param {{}} options * @param {Command} cmd
src/cli/cli.js:222
FunctionmakehtmlCommand
(t,o)
bin/showdown.js:2
FunctionparseTable
(rawTable)
src/subParsers/tables.js:61
FunctionrepFunc
(wholeMatch, match, left, right)
src/subParsers/hashHTMLBlocks.js:41
FunctionrepFunc
(wholeMatch, match, left, right)
src/subParsers/hashPreCodeTags.js:8
FunctionrepFunc
(wholeMatch, match, left, right)
src/subParsers/hashCodeTags.js:8
FunctionreplaceFunc
(wholeMatch, linkId, url, width, height, blankLines, title)
src/subParsers/stripLinkDefinitions.js:15
FunctionrunTests
()
test/node/performance.js:31
FunctionwriteAnchorTag
(wholeMatch, linkText, linkId, url, m5, m6, title)
src/subParsers/anchors.js:9
FunctionwriteImageTagBase64
(wholeMatch, altText, linkId, url, width, height, m5, title)
src/subParsers/images.js:15