diff --git a/messages/4.0.0.md b/messages/4.0.0.md new file mode 100644 index 0000000..f99e43f --- /dev/null +++ b/messages/4.0.0.md @@ -0,0 +1,39 @@ +# MarkdownTOC - 4.0.0 + +--- + +**NOTE: 4.0.0 may have "breaking changes"** + +If there is a problem in autolink feature, Please check your `MarkdownTOC.sublime-settings`. + +But please be assured. The change is very easy! + +Ref: [Upgrade Guide](https://github.com/naokazuterada/MarkdownTOC/releases/tag/4.0.0) + +## Upgrade Guide + +Please remove following "patterns" in "id_replacements". + +```json +{ + "id_replacements": [ + { + "pattern": "[_*]{2}([^\\s])[_*]{2}", + "replacement": "\\1" + }, + { + "pattern": "[_*]([^\\s])[_*]", + "replacement": "\\1" + } + ] +} +``` + +You do not need to do anything else. + +--- + +## Changes + +- Fix broking autolink when two or more _ (underscores) used in the title Ref: [#142](https://github.com/naokazuterada/MarkdownTOC/issues/142) +- Remove duplicate id_replacement patterns in settings file