Browse Source

RemovedMdToc disabled

pull/23/head
Jure Šorn 5 years ago
parent
commit
046d69a41c
1 changed files with 2 additions and 2 deletions
  1. 4
      web/script.js

4
web/script.js

@ -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') {

Loading…
Cancel
Save