Skip to content

docs: use mdBook admonitions where possible - #5260

Merged
rami3l merged 1 commit into
rust-lang:mainfrom
Marcono1234:mdbook-admonitions
Nov 25, 2026
Merged

rami3l merged 1 commit into
rust-lang:mainfrom
Marcono1234:mdbook-admonitions

Conversation

@Marcono1234

Copy link
Copy Markdown
Contributor

Supported since mdBook v0.5.0

They make the intention clearer than regular block quotes.

There are still some indented 'note' block quotes (nested under list items) which have not been replaced.
While mdBook supports indented admonitions, GitHub currently does not, showing the [!NOTE] literally.

Supported since mdBook v0.5.0

They make the intention clearer than regular block quotes.

There are still some indented 'note' block quotes (nested under list
items) which have not been replaced.
While mdBook supports indented admonitions, GitHub currently does not,
showing the `[!NOTE]` literally.
Comment thread doc/user-guide/src/basics.md Resolved
@Marcono1234
Marcono1234 marked this pull request as ready for review November 24, 2026 18:10
@rustbot

rustbot commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Welcome, and thank you for contributing to rustup! A reviewer will take a look at your PR, typically within a week or two.

Please see the contribution instructions and our LLM policy for more information.

@rami3l rami3l left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rami3l
rami3l added this pull request to the merge queue Nov 25, 2026
Merged via the queue into rust-lang:main with commit 7747d0c Nov 25, 2026
29 checks passed
@Marcono1234
Marcono1234 deleted the mdbook-admonitions branch November 25, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants