diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-12-04 03:30:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-04 03:30:17 +0100 |
| commit | 6f2fbc1613489e300cf22e18219651dbcada140e (patch) | |
| tree | 38274820d86d17f2118c832a980742db5f0c221f /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 5be3f9f10e9fd59ea03816840a6051413fbdefae (diff) | |
| parent | 376507f47b5f16c0a9c210005de2bcdb270d8920 (diff) | |
| download | rust-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
