HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
rust-lang
mdBook
Rust2019–2025
rust-lang / mdBook

mdBook

Create book from markdown files. Like Gitbook but implemented in Rust

35Distinct people
53Mentions
0Explicit recommenders
22.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Create book from markdown files. Like Gitbook but implemented in Rust

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 8:27:21 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year53 dated mentions

Observed mentions: 2019-02-05 15:41:26 UTC to 2025-12-23 07:43:52 UTC.

051015202019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 6 mentions; 0 submissions, 6 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 21 mentions; 1 submissions, 20 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 9 mentions; 0 submissions, 9 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC606
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC21120
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC404
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC404
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC505
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC909
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC404

What Hacker News says

21 sources
Book is what this site layout is called in the community, see also: Rust Book: https://doc.rust-lang.org/book Rust Rand Book: https://rust-random.github.io/book Rust WebAssembly Book: https://rustwasm.github.io/book Rust Unstable Book: https://doc.rust-lang.org/beta/unstable-book/index.html Rustonomicon: https://doc.rust-lang.org/beta/nomicon/index.html Cargo Book: https://doc.rust-lang.org/cargo Which seems to be generated by https://github.com/rust-lang/mdBook Now, I don't see why "book" should seem so grand. Remember when reference books would come out as a "bible"? As for bounds check, here's a relevant issue raised on rand crate: https://github.com/rust-random/rand/issues/592 One can dig for a kind of "unsafe assertions" with https://doc.rust-lang.org/std/hint/fn.unreachable_unchecked.... (so the random code, for example, could have
Read the rest
before returning value 'if x >= upper { unsafe { unreachable_unchecked() } }')
In The Rust Performance Book
I'm building a similar resource for Python[1]. To make it easier to browse and provide search functionality, I'm using mdBook[2]. I'd suggest you to check out mdBook or a static-site generator like Zola[3] to convert md-to-html and host it via GitHub pages or your own domain. [1] https://learnbyexample.github.io/py_resources/ [2] https://github.com/rust-lang/mdBook [3] https://www.getzola.org/documentation/getting-started/overvi...
In Free Learning Resources related to Web-Development
Thanks for posting clickable links and feedback about the markdown sources. I use pandoc to convert markdown to pdf/epub and my initial learning with pandoc [1] resulted in single file usage. So, I kept it like that. I'm planning to create a separate chapter-wise branch so that I can publish a nicer web version with tools like mdBook [2]. This will require a bit of scripting to handle references across chapters. [1] https://learnbyexample.github.io/tutorial/ebook-generation/c... [2] https://github.com/rust-lang/mdBook
In Show HN: JavaScript regexp eBook with hundreds of examples and exercises
I felt the same way so have switched completely to taking nodes using https://github.com/rust-lang/mdBook I back everything up in a private git repo and then use various plugins built on top of mdbook to get all the functionality I want: * rendering graphviz: https://github.com/dylanowen/mdbook-graphviz * adding tags to the pages: https://github.com/dylanowen/mdbook-tag * setting up sections to only render locally and not get published: https://github.com/dylanowen/mdbook-access The plugin system is super easy to use and you don't need to code everything in rust. You can use any language. I'm also working on a better renderer instead of just running the mdbook server all the time: https://github.com/dylanowen/mdnotes I believe with plugins you can meet most of the requirements you have: * bidirectional: definitely could be a plugin * math
Read the rest
support: potentially this feature: https://github.com/rust-lang/mdBook/blob/master/book-example... * customizable themes: you can completely overwrite the wrapping html and CSS * rich formatting beyond markdown: mdbook supports inline html/js as it's based on commonmark * WYSIWYG: this is the main missing piece, my strategy is to just run my mdnotes application next to my text editor.
In Show HN: Obsidian – A knowledge base that works on local Markdown files

Showing the 15 most recent of 21 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.