SYMBOL INDEX (353 symbols across 33 files) FILE: api/dingus.js function dingus (line 7) | function dingus(req, res) { FILE: bin/main.js function main (line 21) | async function main(nodeProcess) { FILE: docs/build.js function convertTestsToTable (line 21) | function convertTestsToTable(name, tests) { function init (line 47) | async function init() { function build (line 83) | async function build(currentDir, tmpl, testResultsTable) { FILE: docs/demo/demo.js constant THEME_STORAGE_KEY (line 58) | const THEME_STORAGE_KEY = 'theme-preference'; constant LEGACY_STORAGE_KEY (line 59) | const LEGACY_STORAGE_KEY = 'theme'; constant THEME_ORDER (line 60) | const THEME_ORDER = ['system', 'light', 'dark']; constant TOGGLE_UI (line 61) | const TOGGLE_UI = { function applyTheme (line 67) | function applyTheme(theme) { function getSystemTheme (line 88) | function getSystemTheme() { function sanitisePreference (line 95) | function sanitisePreference(value) { function readStoredPreference (line 99) | function readStoredPreference() { function writeStoredPreference (line 111) | function writeStoredPreference(preference) { function getEffectiveTheme (line 124) | function getEffectiveTheme(preference) { function updateToggle (line 128) | function updateToggle(preference) { function applyPreference (line 147) | function applyPreference(preference, persist) { function setInitialText (line 204) | function setInitialText() { function setInitialQuickref (line 218) | function setInitialQuickref() { function setInitialVersion (line 226) | function setInitialVersion() { function setInitialOptions (line 255) | function setInitialOptions() { function setInitialOutputType (line 263) | function setInitialOutputType() { function handleIframeLoad (line 269) | function handleIframeLoad() { function handleInput (line 290) | function handleInput() { function handleVersionChange (line 294) | function handleVersionChange() { function handleClearClick (line 298) | function handleClearClick() { function handleInputChange (line 305) | function handleInputChange() { function handleOutputChange (line 309) | function handleOutputChange() { function handleChange (line 314) | function handleChange(panes, visiblePane) { function setDefaultOptions (line 327) | function setDefaultOptions() { function setOptions (line 334) | function setOptions(opts) { function searchToObject (line 350) | function searchToObject() { function getScrollSize (line 368) | function getScrollSize() { function getScrollPercent (line 378) | function getScrollPercent() { function setScrollPercent (line 392) | function setScrollPercent(percent) { function updateLink (line 398) | function updateLink() { function updateVersion (line 417) | function updateVersion() { function checkForChanges (line 421) | function checkForChanges() { function setResponseTime (line 454) | function setResponseTime(ms) { function setParsed (line 476) | function setParsed(parsed, lexed) { function messageWorker (line 485) | function messageWorker(message) { function uniqueWorkerMessageId (line 546) | function uniqueWorkerMessageId() { function workerTimeout (line 554) | function workerTimeout(seconds) { FILE: docs/demo/worker.js function getDefaults (line 18) | function getDefaults() { function mergeOptions (line 34) | function mergeOptions(options) { function parse (line 53) | function parse(e) { function jsonString (line 84) | function jsonString(input, level) { function fetchMarked (line 113) | function fetchMarked(file) { function loadVersion (line 131) | function loadVersion(ver) { FILE: docs/js/index.js function applyTheme (line 16) | function applyTheme(theme) { function getSystemTheme (line 25) | function getSystemTheme() { function sanitisePreference (line 32) | function sanitisePreference(value) { function readStoredPreference (line 36) | function readStoredPreference() { function writeStoredPreference (line 48) | function writeStoredPreference(preference) { function getEffectiveTheme (line 61) | function getEffectiveTheme(preference) { function updateToggle (line 65) | function updateToggle(preference) { function applyPreference (line 84) | function applyPreference(preference, persist) { function openMobileMenu (line 165) | function openMobileMenu() { function closeMobileMenu (line 172) | function closeMobileMenu() { FILE: esbuild.config.js function config (line 22) | function config(options) { FILE: src/Hooks.ts class _Hooks (line 7) | class _Hooks { method constructor (line 11) | constructor(options?: MarkedOptions) { method preprocess (line 31) | preprocess(markdown: string) { method postprocess (line 38) | postprocess(html: ParserOutput) { method processAllTokens (line 45) | processAllTokens(tokens: Token[] | TokensList) { method emStrongMask (line 52) | emStrongMask(src: string) { method provideLexer (line 59) | provideLexer() { method provideParser (line 66) | provideParser() { FILE: src/Instance.ts type MaybePromise (line 12) | type MaybePromise = void | Promise; type UnknownFunction (line 14) | type UnknownFunction = (...args: unknown[]) => unknown; type GenericRendererFunction (line 15) | type GenericRendererFunction = (...args: unknown[]) => string | false; class Marked (line 17) | class Marked { method constructor (line 31) | constructor(...args: MarkedExtension[]) { method walkTokens (line 38) | walkTokens(tokens: Token[] | TokensList, callback: (token: Token) => M... method use (line 76) | use(...args: MarkedExtension[]) { method setOptions (line 262) | setOptions(opt: MarkedOptions) { method lexer (line 267) | lexer(src: string, options?: MarkedOptions { method constructor (line 23) | constructor(options?: MarkedOptions) { method rules (line 62) | static get rules() { method lex (line 72) | static lex(src: string... method lexInline (line 80) | static lexInline(src: ... method lex (line 88) | lex(src: string) { method blockTokens (line 107) | blockTokens(src: string, tokens: Token[] = [], lastParagraphClipped = ... method inline (line 291) | inline(src: string, tokens: Token[] = []) { method inlineTokens (line 299) | inlineTokens(src: string, tokens: Token[] = []): Token[] { FILE: src/MarkedOptions.ts type TokenizerThis (line 8) | interface TokenizerThis { type TokenizerExtensionFunction (line 12) | type TokenizerExtensionFunction = (this: TokenizerThis, src: string, tok... type TokenizerStartFunction (line 14) | type TokenizerStartFunction = (this: TokenizerThis, src: string) => numb... type TokenizerExtension (line 16) | interface TokenizerExtension { type RendererThis (line 24) | interface RendererThis { type RendererExtensionFunction (line 28) | type RendererExtensionFunction = Omit<_Ho... type HooksObject (line 38) | type HooksObject = { type RendererApi (line 42) | type RendererApi = Omit<... type RendererObject (line 43) | type RendererObject = { type TokenizerApi (line 47) | type TokenizerApi = Omit... type TokenizerObject (line 48) | type TokenizerObject = { type MarkedExtension (line 52) | interface MarkedExtension { type MarkedOptions (line 117) | interface MarkedOptions ... FILE: src/Parser.ts class _Parser (line 10) | class _Parser { method constructor (line 14) | constructor(options?: MarkedOptions) { method parse (line 26) | static parse(tokens: T... method parseInline (line 34) | static parseInline(tok... method parse (line 42) | parse(tokens: Token[]): ParserOutput { method parseInline (line 128) | parseInline(tokens: Token[], renderer: _Renderer { method constructor (line 17) | constructor(options?: MarkedOptions) { method space (line 21) | space(token: Tokens.Space): RendererOutput { method code (line 25) | code({ text, lang, escaped }: Tokens.Code): RendererOutput { method blockquote (line 43) | blockquote({ tokens }: Tokens.Blockquote): RendererOutput { method html (line 48) | html({ text }: Tokens.HTML | Tokens.Tag): RendererOutput { method def (line 52) | def(token: Tokens.Def): RendererOutput { method heading (line 56) | heading({ tokens, depth }: Tokens.Heading): RendererOutput { method hr (line 60) | hr(token: Tokens.Hr): RendererOutput { method list (line 64) | list(token: Tokens.List): RendererOutput { method listitem (line 79) | listitem(item: Tokens.ListItem): RendererOutput { method checkbox (line 83) | checkbox({ checked }: Tokens.Checkbox): RendererOutput { method paragraph (line 89) | paragraph({ tokens }: Tokens.Paragraph): RendererOutput { method table (line 93) | table(token: Tokens.Table): RendererOutput { method tablerow (line 124) | tablerow({ text }: Tokens.TableRow): RendererOutput { method tablecell (line 128) | tablecell(token: Tokens.TableCell): RendererOutput { method strong (line 140) | strong({ tokens }: Tokens.Strong): RendererOutput { method em (line 144) | em({ tokens }: Tokens.Em): RendererOutput { method codespan (line 148) | codespan({ text }: Tokens.Codespan): RendererOutput { method br (line 152) | br(token: Tokens.Br): RendererOutput { method del (line 156) | del({ tokens }: Tokens.Del): RendererOutput { method link (line 160) | link({ href, title, tokens }: Tokens.Link): RendererOutput { method image (line 175) | image({ href, title, text, tokens }: Tokens.Image): RendererOutput { method text (line 193) | text(token: Tokens.Text | Tokens.Escape): RendererOutput { FILE: src/TextRenderer.ts class _TextRenderer (line 7) | class _TextRenderer { method strong (line 9) | strong({ text }: Tokens.Strong): RendererOutput { method em (line 13) | em({ text }: Tokens.Em): RendererOutput { method codespan (line 17) | codespan({ text }: Tokens.Codespan): RendererOutput { method del (line 21) | del({ text }: Tokens.Del): RendererOutput { method html (line 25) | html({ text }: Tokens.HTML | Tokens.Tag): RendererOutput { method text (line 29) | text({ text }: Tokens.Text | Tokens.Escape | Tokens.Tag): RendererOutp... method link (line 33) | link({ text }: Tokens.Link): RendererOutput { method image (line 37) | image({ text }: Tokens.Image): RendererOutput { method br (line 41) | br(): RendererOutput { method checkbox (line 45) | checkbox({ raw }: Tokens.Checkbox): RendererOutput { FILE: src/Tokenizer.ts function outputLink (line 13) | function outputLink(cap: string[], link: Pick { method constructor (line 67) | constructor(options?: MarkedOptions) { method space (line 71) | space(src: string): Tokens.Space | undefined { method code (line 81) | code(src: string): Tokens.Code | undefined { method fences (line 96) | fences(src: string): Tokens.Code | undefined { method heading (line 111) | heading(src: string): Tokens.Heading | undefined { method hr (line 137) | hr(src: string): Tokens.Hr | undefined { method blockquote (line 147) | blockquote(src: string): Tokens.Blockquote | undefined { method list (line 231) | list(src: string): Tokens.List | undefined { method html (line 481) | html(src: string): Tokens.HTML | undefined { method def (line 495) | def(src: string): Tokens.Def | undefined { method table (line 511) | table(src: string): Tokens.Table | undefined { method lheading (line 574) | lheading(src: string): Tokens.Heading | undefined { method paragraph (line 587) | paragraph(src: string): Tokens.Paragraph | undefined { method text (line 602) | text(src: string): Tokens.Text | undefined { method escape (line 614) | escape(src: string): Tokens.Escape | undefined { method tag (line 625) | tag(src: string): Tokens.Tag | undefined { method link (line 650) | link(src: string): Tokens.Link | Tokens.Image | undefined { method reflink (line 711) | reflink(src: string, links: Links): Tokens.Link | Tokens.Image | Token... method emStrong (line 729) | emStrong(src: string, maskedSrc: string, prevChar = ''): Tokens.Em | T... method codespan (line 799) | codespan(src: string): Tokens.Codespan | undefined { method br (line 816) | br(src: string): Tokens.Br | undefined { method del (line 826) | del(src: string, maskedSrc: string, prevChar = ''): Tokens.Del | undef... method autolink (line 879) | autolink(src: string): Tokens.Link | undefined { method url (line 907) | url(src: string): Tokens.Link | undefined { method inlineText (line 944) | inlineText(src: string): Tokens.Text | undefined { FILE: src/Tokens.ts type MarkedToken (line 3) | type MarkedToken = ( type Token (line 28) | type Token = ( type Blockquote (line 33) | interface Blockquote { type Br (line 40) | interface Br { type Checkbox (line 45) | interface Checkbox { type Code (line 51) | interface Code { type Codespan (line 60) | interface Codespan { type Def (line 66) | interface Def { type Del (line 74) | interface Del { type Em (line 81) | interface Em { type Escape (line 88) | interface Escape { type Generic (line 94) | interface Generic { type Heading (line 102) | interface Heading { type Hr (line 110) | interface Hr { type HTML (line 115) | interface HTML { type Image (line 123) | interface Image { type Link (line 132) | interface Link { type List (line 141) | interface List { type ListItem (line 150) | interface ListItem { type Paragraph (line 160) | interface Paragraph { type Space (line 168) | interface Space { type Strong (line 173) | interface Strong { type Table (line 180) | interface Table { type TableCell (line 188) | interface TableCell { type TableRow (line 195) | interface TableRow

{ type Tag (line 199) | interface Tag { type Text (line 208) | interface Text { type Links (line 217) | type Links = Record():... function changeDefaults (line 23) | function changeDefaults(... FILE: src/helpers.ts function escapeHtmlEntities (line 15) | function escapeHtmlEntities(html: string, encode?: boolean) { function cleanUrl (line 29) | function cleanUrl(href: string) { function splitCells (line 38) | function splitCells(tableRow: string, count?: number) { function rtrim (line 88) | function rtrim(str: string, c: string, invert?: boolean) { function findClosingBracket (line 112) | function findClosingBracket(str: string, b: string) { function expandTabs (line 137) | function expandTabs(line: string, indent = 0) { FILE: src/marked.ts function marked (line 38) | function marked(src: string, opt?: MarkedOptions | null): string | Promi... FILE: src/rules.ts function edit (line 3) | function edit(regex: string | RegExp, opt = '') { type BlockKeys (line 189) | type BlockKeys = keyof typeof blockNormal; type InlineKeys (line 433) | type InlineKeys = keyof typeof inlineNormal; type Rules (line 500) | interface Rules { FILE: test/bench.js function load (line 12) | async function load() { function runBench (line 27) | async function runBench(options) { function bench (line 68) | async function bench(tests, specs) { function parseArg (line 119) | function parseArg(argv) { function camelize (line 189) | function camelize(text) { function main (line 196) | async function main(argv) { function prettyElapsedTime (line 206) | function prettyElapsedTime(hrtimeElapsed) { FILE: test/recheck.ts type RegexpObj (line 4) | interface RegexpObj { function checkRegexp (line 8) | async function checkRegexp(obj: RegexpObj, name: string) { FILE: test/rules.js constant COLOR (line 4) | const COLOR = { function propsToString (line 32) | function propsToString(obj) { FILE: test/run-spec-tests.js function parse (line 6) | function parse(markdown, options) { FILE: test/types/marked.ts class ExtendedRenderer (line 88) | class ExtendedRenderer extends marked.Renderer { method heading (line 134) | heading({ tokens, depth }) { method listitem (line 141) | listitem({ text, task, checked }) { method heading (line 147) | heading(src) { method codespan (line 161) | codespan(src) { type NameToken (line 177) | interface NameToken extends Tokens.Generic { method tokenizer (line 189) | tokenizer(src: string): NameToken | undefined { method renderer (line 207) | renderer(t) { method tokenizer (line 221) | tokenizer(src: string) { method renderer (line 230) | renderer(token: Tokens.Generic) { method walkTokens (line 245) | async walkTokens(token) { method preprocess (line 326) | preprocess(markdown) { method postprocess (line 332) | postprocess(html) { method processAllTokens (line 339) | processAllTokens(tokens) { method provideLexer (line 346) | provideLexer() { method provideParser (line 349) | provideParser() { method preprocess (line 357) | async preprocess(markdown) { method postprocess (line 360) | async postprocess(html) { method processAllTokens (line 363) | async processAllTokens(tokens) { method html (line 404) | html() { function parserNumber (line 408) | function parserNumber(tokens: Token[], options?: MarkedOptions