MCPcopy Index your code
hub / github.com/markdoc/markdoc / mergeConfig

Function mergeConfig

index.ts:25–41  ·  view source on GitHub ↗
(config: Config = {})

Source from the content-addressed store, hash-verified

23const tokenizer = new Tokenizer();
24
25function mergeConfig(config: Config = {}): Config {
26 return {
27 ...config,
28 tags: {
29 ...tags,
30 ...config.tags,
31 },
32 nodes: {
33 ...nodes,
34 ...config.nodes,
35 },
36 functions: {
37 ...functions,
38 ...config.functions,
39 },
40 };
41}
42
43export function parse(
44 content: string | Token[],

Callers 2

transformFunction · 0.85
validateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…