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

Function setupTableDoc

src/parser.test.ts:951–960  ·  view source on GitHub ↗
(rows: string[])

Source from the content-addressed store, hash-verified

949
950 describe('table parsing', function () {
951 function setupTableDoc(rows: string[]) {
952 return `
953 {% table %}
954 - column 1
955 - column 2
956 ---
957 ${rows.join('\n')}
958 {% /table %}
959 `;
960 }
961
962 it('should preserve default if tag during table parsing without extra parser args', function () {
963 const document = setupTableDoc([

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…