MCPcopy
hub / github.com/markedjs/marked / changeDefaults

Function changeDefaults

src/defaults.ts:23–25  ·  view source on GitHub ↗
(newDefaults: MarkedOptions<ParserOutput, RendererOutput>)

Source from the content-addressed store, hash-verified

21export let _defaults: MarkedOptions<any, any> = _getDefaults();
22
23export function changeDefaults<ParserOutput = string, RendererOutput = string>(newDefaults: MarkedOptions<ParserOutput, RendererOutput>) {
24 _defaults = newDefaults;
25}

Callers 1

marked.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…