# markdown: Fix example crash on Linux \(\#58406\) · gitcafe/zed

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

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

Visibility: public

Requested revision: eae0b583c0cf820ae7bd66afb6f3fb72fd2838f8

Requested commit: eae0b583c0cf820ae7bd66afb6f3fb72fd2838f8

Commit: eae0b583c0cf820ae7bd66afb6f3fb72fd2838f8

Tree: eadfa0b3cab2ac15bc1df151cf1f02f5e6015e31

Author: mengh04

Committer: GitHub

## Message

```
markdown: Fix example crash on Linux (#58406)

markdown: Fix example crash on Linux by enabling wayland/x11 features

   The markdown example panics with `unreachable!()` on Linux because
   `gpui_platform`'s default features are empty, and the example doesn't
   explicitly enable `wayland` or `x11`.

Release Notes:

- N/A
```

## Parents

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

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