# Add auto-surround support for tilde in Markdown \(\#58614\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fcb95aaee47f4abf0846ca39cd402eb4afbc8bcf

Requested commit: fcb95aaee47f4abf0846ca39cd402eb4afbc8bcf

Commit: fcb95aaee47f4abf0846ca39cd402eb4afbc8bcf

Tree: 7370be9def4d6e69a4d27354f71409863f295909

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Add auto-surround support for tilde in Markdown (#58614)

This enables you to easily add strikethroughs to text you have selected
by typing `~` twice.
This matches VS Code's behavior.

Self-Review Checklist:

- [X] I've reviewed my own diff for quality, security, and reliability
- [X] Unsafe blocks (if any) have justifying comments
- [X] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [X] Performance impact has been considered and is acceptable

Release Notes:

- Added support for surrounding selected Markdown text with `~` by
typing `~`
```

## Parents

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

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