Create book from markdown files. Like Gitbook but implemented in Rust
Go to file
Hollow Man 5b6b5e2605
Make print page (print.html) links link to anchors on the print page
Let all the anchors id on the print page to have a path id prefix to
help locate.

e.g. bar/foo.md#abc -> #bar-foo-abc

Also append a dummy div to the start of the original page to make sure
that original page links without an anchor can also be located.

Fix to remove all the `./` in the normalized path id so that for
"./foo/bar.html#abc" we still get "#foo-bar-abc"

Add support for redirect link anchors in print page so that anchors can
also be redirected, also handle URL redirect links on print page

Handle all the elements id to add a path prefix, also make path id to
all be the lower case

Fix for print page footnote links by adding the path id prefix

Signed-off-by: Hollow Man <hollowman@opensuse.org>
2024-04-27 20:55:48 +03:00
.github Update env_logger to 0.11 2024-02-05 14:22:21 -08:00
ci Rewrite asset deploy. 2023-07-16 17:16:15 -07:00
examples upgrade clap to 4.0 2022-12-14 17:11:08 -08:00
guide Add Songlin as a contributor 2024-04-27 20:55:47 +03:00
src Make print page (print.html) links link to anchors on the print page 2024-04-27 20:55:48 +03:00
test_book Merge pull request #2262 from Janik-Haag/master 2024-04-12 15:27:31 +00:00
tests Make print page (print.html) links link to anchors on the print page 2024-04-27 20:55:48 +03:00
.gitattributes Explicitly mark fonts and images files as binary (#951) 2019-06-11 21:44:15 +02:00
.gitignore Setup basic structure for test book 2021-10-04 13:14:49 +05:30
CHANGELOG.md Update to 0.4.37 2024-02-06 19:34:15 -08:00
CODE_OF_CONDUCT.md add explicit code of conduct, copying other rust-lang repos 2021-07-26 11:52:24 -07:00
CONTRIBUTING.md Add nix to default languages 2024-04-10 21:56:13 +02:00
Cargo.lock Bump mio from 0.8.10 to 0.8.11 2024-04-05 18:10:01 +00:00
Cargo.toml Update to 0.4.37 2024-02-06 19:34:15 -08:00
LICENSE Create LICENSE 2015-07-29 01:11:30 +02:00
README.md Update documentation 2021-12-19 20:26:37 -08:00
release.toml Metadata for cargo-release should be in release.toml (#722) 2018-07-09 18:36:55 +08:00
triagebot.toml Add issue templates and update contributor docs 2023-01-16 09:22:54 -08:00

README.md

mdBook

Build Status crates.io LICENSE

mdBook is a utility to create modern online books from Markdown files.

Check out the User Guide for a list of features and installation and usage information. The User Guide also serves as a demonstration to showcase what a book looks like.

If you are interested in contributing to the development of mdBook, check out the Contribution Guide.

License

All the code in this repository is released under the Mozilla Public License v2.0, for more information take a look at the LICENSE file.