Skip to content

Commit

Permalink
renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdremov committed Dec 18, 2024
1 parent 75bc28b commit 94e90db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ def merge_cells(cells):
if len(cells) == 0:
return []

cells = list(filter(lambda x: x['cell_type'] != 'code' or len(x['source']) > 0, cells))

result = [cells[0]]
for cell in cells[1:]:
if (
Expand Down

0 comments on commit 94e90db

Please sign in to comment.