# 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 duplicated "id_replacement" patterns in settings file
