Imagine I have my code split into multiple sections, like so

enter image description here

Suppose I now select all cells and merge them, getting

enter image description here

Is it possible to automatic set a divider between the different code sections? I'm looking for something like

enter image description here

A code to apply customizable dividers to merged tagged cells would be ideal. Any ideas?

  • $\begingroup$ I think it should be straightforward to prepend some custom comment to the box structure of each selected cell, before telling the front-end to merge them. $\endgroup$
    – Lukas Lang
    Jul 28, 2021 at 11:27

1 Answer 1


Something simple like this?

    Dividers -> {None, {All, 4 -> None}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.