Release 0.3.0
New bracket matcher:
The old bracket matcher has been replaced with a faster and smaller one. Rainbow brackets are now optional and highlighting the closest bracket pair is handled by a separate extension.
import { bracketMatcher } from "prism-code-editor/match-brackets"
import { highlightBracketPairs } from "prism-code-editor/highlight-brackets"
I would've preferred to have highlightBracketPairs
in the same package, but tree-shaking didn't work as expected when I did.
The old bracket matcher is kept for backwards compatibility, but is marked as deprecated and will be removed in the future.