Skip to content

Commit

Permalink
Added specific case where the cell ends
Browse files Browse the repository at this point in the history
  • Loading branch information
dvd101x committed Mar 3, 2024
1 parent 345574c commit c673c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makeDoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function makeDoc(code) {
cells[thisCell].to = lineNum
}
else {
cells.push({ from: lineNum, cell_type: lineTypes[lineNum], source: [line] })
cells.push({ from: lineNum, to:lineNum, cell_type: lineTypes[lineNum], source: [line] })
}
lastType = lineTypes[lineNum]
})
Expand Down

0 comments on commit c673c11

Please sign in to comment.