How to create a custom node tag for markdown

So I’m new to using codemirror and I am having trouble implementing creating a custom node tag using @lezer/markdown

Basically I want to create a block tag for something like this

/myTag> texts can go here,

Including line breaks too

“>” should end the custom node

How do I go about creating this ??