sm plugin: turncate multi lines