about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-12-04 03:30:17 +0100
committerGitHub <noreply@github.com>2020-12-04 03:30:17 +0100
commit6f2fbc1613489e300cf22e18219651dbcada140e (patch)
tree38274820d86d17f2118c832a980742db5f0c221f /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent5be3f9f10e9fd59ea03816840a6051413fbdefae (diff)
parent376507f47b5f16c0a9c210005de2bcdb270d8920 (diff)
downloadrust-6f2fbc1613489e300cf22e18219651dbcada140e.tar.gz
rust-6f2fbc1613489e300cf22e18219651dbcada140e.zip
Rollup merge of #77686 - camelid:rustdoc-render-search-results, r=GuillaumeGomez
Render Markdown in search results

Fixes #32040.

Previously Markdown documentation was not rendered to HTML for search results,
which led to the output not being very readable, particularly for inline code.
This PR fixes that by rendering Markdown to HTML with the help of pulldown-cmark
(the library rustdoc uses to parse Markdown for the main text of documentation).
However, the text for the title attribute (the text shown when you hover over an
element) still uses the plain-text rendering since it is displayed in browsers
as plain-text.

Only these styles will be rendered; everything else is stripped away:

* *italics*
* **bold**
* `inline code`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions