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

Function items

src/parser.test.ts:117–118  ·  view source on GitHub ↗
(doc, n = 0)

Source from the content-addressed store, hash-verified

115 describe('handling attributes', function () {
116 it('for emphasis', function () {
117 const items = (doc, n = 0) =>
118 doc.children[0].children[0].children[n].attributes.marker;
119
120 const example1 = convert(`a*b*c`);
121 expect(items(example1, 1)).toEqual('*');

Callers 1

parser.test.tsFile · 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…