rust/src
Camelid 5d4a7128d9 Render Markdown in search results
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`
2020-12-03 14:11:37 -08:00
..
bootstrap Add tests for rustdoc json 2020-12-01 18:34:39 +00:00
build_helper Fix even more URLs 2020-11-05 20:11:29 +01:00
ci add enable-full-tools to freebsd builds to prevent occasional link errors when compiling rust programs 2020-11-27 14:21:23 -08:00
doc Auto merge of #78684 - devsnek:inline-asm-wasm, r=Amanieu 2020-12-01 20:23:06 +00:00
etc Auto merge of #79235 - ortem:fix-btreemap-gdb-pretty-printer, r=Mark-Simulacrum 2020-12-02 04:12:33 +00:00
librustdoc Render Markdown in search results 2020-12-03 14:11:37 -08:00
llvm-project@7ade8dc4b8 update llvm submodule 2020-11-18 22:28:20 -06:00
test Render Markdown in search results 2020-12-03 14:11:37 -08:00
tools Address review comments. 2020-12-01 18:34:39 +00:00
README.md Update README.md 2020-08-30 13:40:11 -05:00
stage0.txt Bump bootstrap compiler version 2020-11-19 19:23:36 -05:00
version bump version to 1.50.0 2020-11-13 09:47:16 +01:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.