Example on Creating a Custom Tag for Markdown?

You should be able to do something like

const codeMarkTag = Tag.define()

markdown({
  extensions: {
    props: [styleTags({CodeMark: codeMarkTag})]
  }
})

And then style that tag in a highlighter. See also this thread.