@property
    def depth(self):
        match = re.search(r'^#((\*|-)\2*)', self.line)
        if match:
            return len(match.group(1))
        return 0


### Comment insertion
Returns 0 if the line is not a diffscuss line, 1 if it is a top-level
dataset/ETHPy150Open hut8labs/diffscuss/diffscuss/support/editor.py/LineProperties.depth