Git flavoured markdown for ionic v4?

I’m looking for a git flavoured markdown editor for my ionic v4 app. Does anyone have any suggestions to something that comes with a MIT/Free license? I want to be able to make the app that I am building free for public use. I also want to be able to use the app offline, so a cdn probably won’t work.

Thank you, I know there have been threads made about markdown editors before, but I didn’t see any like this.