MCPcopy
hub / github.com/teadocs/numpy-cn / getMarkdown

Method getMarkdown

scripts/htmlToMd.js:26–35  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

24 }
25
26 getMarkdown(el) {
27 let that = this;
28 let mainEl = el ? this.$(el) : this.mainEl;
29 let cd = mainEl.children();
30 let content = '';
31 cd.each(function (index, el) {
32 content += that.parse(el);
33 });
34 return content;
35 }
36
37 parse(el) {
38 let nodeName = el.nodeName;

Callers 2

parseMethod · 0.95
htmlToMd.jsFile · 0.80

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected