mdbook/crates/mdbook-html
Eric Huss c606a010c7 Rewrite partition_source to return slices
This changes partition_source so that instead of allocating new strings,
it just returns slices into the original string. It probably doesn't
make a big difference perf-wise, but I felt more comfortable with this,
and also felt it was a little easier to understand exactly what it was
doing.

This is generally equivalent except for the possibility of not having a
newline at the end. In practice that doesn't matter because markdown
code blocks always have a newline. However, to be defensive, the caller
will check for this.
2025-09-15 18:42:43 -07:00
..
front-end Add sidebar heading navigation 2025-08-27 14:44:12 -07:00
src Rewrite partition_source to return slices 2025-09-15 18:42:43 -07:00
Cargo.toml Switch from log to tracing 2025-09-12 06:13:45 -07:00
README.md Add READMEs for all new crates 2025-07-23 17:47:31 -07:00

mdbook-html

Documentation crates.io Changelog

This is the HTML renderer for mdBook. This is intended for internal use only. It is automatically included by mdbook-driver to render books to HTML.

This crate is maintained by the mdBook team, primarily for use by mdBook and not intended for external use (except as a transitive dependency). This crate may make major changes to its APIs or be deprecated without warning.

License

Mozilla Public License, version 2.0