diff --git a/README.md b/README.md index 9a61c89c..30f5e24d 100644 --- a/README.md +++ b/README.md @@ -38,13 +38,15 @@ eventually be moved over to `tests/qunit` and rewritten for CodeMirror 6. ## CodeMirror 6 change log -### Upstream changes - -This list changes that come by default with the CodeMirror 6 upgrade. +This is a list of changes that either come by default with the CodeMirror 6 upgrade, +or changes of our that we deem as reasonable improvements. Some may be removed pending user feedback: +### Upstream changes + * Bracket matching now highlights unmatched brackets in red ### New MediaWiki mode features * Closing HTML tags that highlighted as an error now also highlight the closing '>' +* Allow link titles to be both emboldened and italicized. diff --git a/resources/mode/mediawiki/mediawiki.less b/resources/mode/mediawiki/mediawiki.less index 0c00e2b8..bb1c235c 100644 --- a/resources/mode/mediawiki/mediawiki.less +++ b/resources/mode/mediawiki/mediawiki.less @@ -112,7 +112,12 @@ pre.CodeMirror-line-like.cm-mw-tag-nowiki, .cm-mw-link-bracket, .cm-mw-link-delimiter, .cm-mw-extlink, -.cm-mw-free-extlink { color: @link-color; font-weight: normal; } +.cm-mw-free-extlink { + color: @link-color; + &:not( .cm-mw-strong ) { + font-weight: normal; + } +} .cm-mw-extlink-protocol, .cm-mw-free-extlink-protocol, .cm-mw-extlink-bracket { color: @link-color; font-weight: bold; }