# Account for markdown styling in mentions offset calculation\. · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/812ff9a97dda94fdff359613afb6d8de13572ca2)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 812ff9a97dda94fdff359613afb6d8de13572ca2

Requested commit: 812ff9a97dda94fdff359613afb6d8de13572ca2

Commit: 812ff9a97dda94fdff359613afb6d8de13572ca2

Tree: 8410d2e5d5be5fb406cb5ceb09d488e88b25d3ee

Author: Piotr Osiewicz

Committer: Piotr Osiewicz

## Message

```
Account for markdown styling in mentions offset calculation.

This also means that we can support smart punctuation.

Co-authored-by: Max <max@zed.dev>

```

## Parents

- [763b13e7003f17a3ca1a9abb370cb40adb25ae9b](https://git.cafe/gitcafe/zed/commit/763b13e7003f17a3ca1a9abb370cb40adb25ae9b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/812ff9a97dda94fdff359613afb6d8de13572ca2?format=markdown)
