MCPcopy
hub / github.com/docsifyjs/docsify / getTableData

Function getTableData

src/plugins/search/search.js:58–68  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

56}
57
58function getTableData(token) {
59 if (!token.text && token.type === 'table') {
60 token.cells.unshift(token.header);
61 token.text = token.cells
62 .map(function (rows) {
63 return rows.join(' | ');
64 })
65 .join(' |\n ');
66 }
67 return token.text;
68}
69
70function getListData(token) {
71 if (!token.text && token.type === 'list') {

Callers 1

genIndexFunction · 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…