|
@ -19,9 +19,9 @@ function parseMd() { |
|
|
|
|
|
|
|
|
function removeMdToc(text) { |
|
|
function removeMdToc(text) { |
|
|
out = [] |
|
|
out = [] |
|
|
console.log(text) |
|
|
|
|
|
return text |
|
|
|
|
|
lines = text.match(/[^\r\n]+/g); |
|
|
lines = text.match(/[^\r\n]+/g); |
|
|
|
|
|
console.log(lines) |
|
|
|
|
|
return text |
|
|
insideContents = false |
|
|
insideContents = false |
|
|
for (line of lines) { |
|
|
for (line of lines) { |
|
|
if (line.trim() === 'Contents') { |
|
|
if (line.trim() === 'Contents') { |
|
|