# Add \`rustdoc_to_markdown\` crate \(\#12445\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5bcb9ed0174cd6cebe4bb087a23914d4eb7d5d25

Requested commit: 5bcb9ed0174cd6cebe4bb087a23914d4eb7d5d25

Commit: 5bcb9ed0174cd6cebe4bb087a23914d4eb7d5d25

Tree: ee014f90f3c7b8d151180c34ed0bdf88ea4d2592

Author: Marshall Bowers

Committer: GitHub

## Message

```
Add `rustdoc_to_markdown` crate (#12445)

This PR adds a new crate for converting rustdoc output to Markdown.

We're leveraging Servo's `html5ever` to parse the Markdown content, and
then walking the DOM nodes to convert it to a Markdown string.

The Markdown output will be continued to be refined, but it's in a place
where it should be reasonable.

Release Notes:

- N/A
```

## Parents

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

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