(el)
| 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; |
no test coverage detected