Example of how to create an Extension with same functions as Blockquote

Hi, I am new to codemirror, how do I create an extension that’s similar in to blockquote??