How to match paired tags in codemirror6


In markdown mode

In codemirror5, ‘matchtags: {bothtags: true},’ can be used to click matching pairs of tags

However, in codemirror6, I can’t find the matching pairs of related codemirror6 tags.

How can I achieve tag matching in codemirror6

The matchbrackets package should highlight XML/HTML tags as well, but due to a bug it did so only in specific circumstances. Upgrading to 0.19.2 should help.