How to wrap text nodes in code block with a element, for example "div""

i want to add a “line” class for every line in code block ,but the current design does not support it at all