cleanup summery line docs

1. changes `# header` to `header`
2. changes `[link](url)` to:

```
[link]
... [link]: url
```

Fixes #16928
I think @alexcrichton means in the summaries, e.g. http://liigo.com/tmp/summery-line/core/cmp/index.html#traits